upload
This commit is contained in:
24
config/log_config.json
Normal file
24
config/log_config.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": 1,
|
||||
"disable_existing_loggers": false,
|
||||
"formatters": {
|
||||
"simple": {
|
||||
"format": "%(asctime)s - %(name)s - [%(levelname)s] - %(message)s"
|
||||
}
|
||||
},
|
||||
"handlers": {
|
||||
"file_handler": {
|
||||
"class": "logging.FileHandler",
|
||||
"level": "DEBUG",
|
||||
"formatter": "simple",
|
||||
"filename": "python_logging.log",
|
||||
"encoding": "utf8"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"level": "DEBUG",
|
||||
"handlers": [
|
||||
"file_handler"
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user