pfidp: fix deprecation warning on mail_admins LOGGING
This commit is contained in:
parent
b6b7bbef8b
commit
914d3ec547
|
@ -261,6 +261,11 @@ LOGGING = {
|
|||
'datefmt': '%Y-%m-%d %a %H:%M:%S'
|
||||
},
|
||||
},
|
||||
'filters': {
|
||||
'require_debug_false': {
|
||||
'()': 'django.utils.log.RequireDebugFalse'
|
||||
}
|
||||
},
|
||||
'handlers': {
|
||||
'null': {
|
||||
'level':'DEBUG',
|
||||
|
@ -283,6 +288,7 @@ LOGGING = {
|
|||
},
|
||||
'mail_admins': {
|
||||
'level': 'ERROR',
|
||||
'filters': ['require_debug_false'],
|
||||
'class': 'django.utils.log.AdminEmailHandler',
|
||||
'include_html': True,
|
||||
}
|
||||
|
|
Reference in New Issue