version: 1
formatters:
    simpleFormater:
        format: '%(asctime)s - %(levelname)s: %(message)s'
        datefmt: '%Y/%m/%d %H:%M:%S'

handlers:
    file:
        class : logging.FileHandler
        formatter: simpleFormater
        level: WARNING
        filename: /var/log/devpi-server/main.log

loggers:
    flogger:
        level: WARNING
        handlers: [file]

root:
    level: DEBUG
    handlers: [file]