version: 1
 
formatters:
    fmt:
        format: '[%(asctime)s] [%(levelname)s] %(message)s'
        class: logging.Formatter
handlers:
    std:
        class: logging.StreamHandler
        level: INFO
        formatter: fmt
        stream: ext://sys.stdout
    install:
        class: logging.handlers.TimedRotatingFileHandler
        level: INFO
        formatter: fmt
        backupCount: 5
        when : 'D'
        encoding : 'utf-8'
        filename: .logs/iinfer_install.log

loggers:
    install:
        handlers: [install, std]
        level: INFO
        qualname: install
 
#root:
#    handlers: [std]
#    level: NOTSET
