Spaces:
Sleeping
Sleeping
File size: 584 Bytes
fe93dd0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
version: 1
disable_existing_loggers: False
formatters:
standard:
format: '[%(asctime)s: %(levelname)s: %(module)s: %(message)s]'
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: standard
stream: ext://sys.stdout
file:
class: logging.handlers.TimedRotatingFileHandler
level: INFO
formatter: standard
filename: logs/application.log
when: midnight
interval: 1
backupCount: 30
loggers:
__main__:
level: DEBUG
handlers: [console, file]
propagate: no
root:
level: DEBUG
handlers: [console, file] |