misc: disable django.security.DisallowedRedirect logs (#33620)
This commit is contained in:
parent
5370064071
commit
35f66b3f48
|
@ -91,6 +91,9 @@ LOGGING = {
|
|||
'class': 'hobo.multitenant.log.AdminEmailHandler',
|
||||
'include_html': True,
|
||||
},
|
||||
'null': {
|
||||
'class': 'logging.NullHandler',
|
||||
},
|
||||
},
|
||||
'loggers': {
|
||||
'django.db': {
|
||||
|
@ -123,6 +126,10 @@ LOGGING = {
|
|||
'level': 'NOTSET',
|
||||
'propagate': True,
|
||||
},
|
||||
'django.security.DisallowedRedirect': {
|
||||
'handlers': ['null'],
|
||||
'propagate': False,
|
||||
},
|
||||
'django.template': {
|
||||
# too much logs on DEBUG level
|
||||
'handlers': [],
|
||||
|
|
Loading…
Reference in New Issue