root: don't log django request warnings
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
153bd3aaf1
commit
f749027143
|
@ -425,6 +425,7 @@ _LOGGING_HANDLER_MAP = {
|
||||||
"": LOG_LEVEL,
|
"": LOG_LEVEL,
|
||||||
"authentik": LOG_LEVEL,
|
"authentik": LOG_LEVEL,
|
||||||
"django": "WARNING",
|
"django": "WARNING",
|
||||||
|
"django.request": "ERROR",
|
||||||
"celery": "WARNING",
|
"celery": "WARNING",
|
||||||
"selenium": "WARNING",
|
"selenium": "WARNING",
|
||||||
"docker": "WARNING",
|
"docker": "WARNING",
|
||||||
|
@ -438,7 +439,7 @@ _LOGGING_HANDLER_MAP = {
|
||||||
"fsevents": "WARNING",
|
"fsevents": "WARNING",
|
||||||
}
|
}
|
||||||
for handler_name, level in _LOGGING_HANDLER_MAP.items():
|
for handler_name, level in _LOGGING_HANDLER_MAP.items():
|
||||||
# pyright: reportGeneralTypeIssues=false
|
|
||||||
LOGGING["loggers"][handler_name] = {
|
LOGGING["loggers"][handler_name] = {
|
||||||
"handlers": ["console"],
|
"handlers": ["console"],
|
||||||
"level": level,
|
"level": level,
|
||||||
|
|
Reference in New Issue