Permalink
Browse files

django.request logger should use mail_admins handler

  • Loading branch information...
1 parent 32b6203 commit 00ee1734f66679511b37ec91e4de9008ae43bbb0 @seanmonstar seanmonstar committed Aug 19, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 log_settings.py
View
@@ -55,6 +55,11 @@ def emit(self, record):
},
'loggers': {
'f': {},
+ 'django.request': {
+ 'handlers': ['mail_admins'],
+ 'level': 'ERROR',
+ 'propagate': False,
+ }
},
'root': {},
}

0 comments on commit 00ee173

Please sign in to comment.