Blame logging-config.yaml

6b3747
---
6b3747
version: 1
6b3747
disable_existing_loggers: false
6b3747
formatters:
6b3747
    ara_standard:
6b3747
        format: '%(asctime)s %(levelname)s %(name)s: %(message)s'
6b3747
handlers:
6b3747
    ara_console:
6b3747
        class: logging.StreamHandler
6b3747
        formatter: ara_standard
6b3747
        level: INFO
6b3747
        stream: ext://sys.stdout
6b3747
    ara_file:
6b3747
        class: logging.handlers.TimedRotatingFileHandler
6b3747
        formatter: ara_standard
6b3747
        level: INFO
6b3747
        filename: '/var/log/ara/ara.log'
6b3747
        when: 'midnight'
6b3747
        interval: 1
6b3747
        backupCount: 30
6b3747
loggers:
6b3747
    ara:
6b3747
        handlers:
6b3747
            - ara_file
6b3747
        level: INFO
6b3747
        propagate: 0
6b3747
    alembic:
6b3747
        handlers:
6b3747
            - ara_console
6b3747
            - ara_file
6b3747
        level: WARN
6b3747
        propagate: 0
6b3747
    sqlalchemy.engine:
6b3747
        handlers:
6b3747
            - ara_file
6b3747
        level: WARN
6b3747
        propagate: 0
6b3747
    werkzeug:
6b3747
        handlers:
6b3747
            - ara_console
6b3747
            - ara_file
6b3747
        level: INFO
6b3747
        propagate: 0