summaryrefslogtreecommitdiff
path: root/django/utils/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/log.py')
-rw-r--r--django/utils/log.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/utils/log.py b/django/utils/log.py
index a9b62caae1..2abf7701cb 100644
--- a/django/utils/log.py
+++ b/django/utils/log.py
@@ -63,6 +63,11 @@ DEFAULT_LOGGING = {
'level': 'ERROR',
'propagate': False,
},
+ 'django.security': {
+ 'handlers': ['mail_admins'],
+ 'level': 'ERROR',
+ 'propagate': False,
+ },
'py.warnings': {
'handlers': ['console'],
},