Spaces:
Running
Running
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] |