Update logging configuration to set INFO level for general logs and DEBUG for specific loggers
This commit is contained in:
parent
4727657285
commit
e2c0bb5e8d
1 changed files with 11 additions and 1 deletions
|
|
@ -127,9 +127,19 @@ LOGGING: dict[str, Any] = {
|
||||||
"loggers": {
|
"loggers": {
|
||||||
"": {
|
"": {
|
||||||
"handlers": ["console"],
|
"handlers": ["console"],
|
||||||
"level": "DEBUG",
|
"level": "INFO",
|
||||||
"propagate": True,
|
"propagate": True,
|
||||||
},
|
},
|
||||||
|
"ttvdrops": {
|
||||||
|
"handlers": ["console"],
|
||||||
|
"level": "DEBUG",
|
||||||
|
"propagate": False,
|
||||||
|
},
|
||||||
|
"django": {
|
||||||
|
"handlers": ["console"],
|
||||||
|
"level": "INFO",
|
||||||
|
"propagate": False,
|
||||||
|
},
|
||||||
"django.utils.autoreload": {
|
"django.utils.autoreload": {
|
||||||
"handlers": ["console"],
|
"handlers": ["console"],
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue