Spaces:
Runtime error
Runtime error
File size: 602 Bytes
158fd9e |
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
formatters:
simple:
format: "%(asctime)s - %(levelname)s - %(message)s"
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stdout
file_info:
class: logging.FileHandler
formatter: simple
level: INFO
filename: logs/info.log
mode: 'a'
file_error:
class: logging.FileHandler
formatter: simple
level: ERROR
filename: logs/error.log
mode: 'a'
root:
level: INFO
handlers: [console, file_info, file_error]
|