This commit is contained in:
thanhvc3
2023-05-04 15:49:41 +07:00
parent c0d0be076f
commit 54e6fbc84c
181 changed files with 39352 additions and 1165059 deletions

24
config/log_config.json Normal file
View 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"
]
}
}