Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
django.request logger should use mail_admins handler
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Aug 19, 2011
1 parent 32b6203 commit 00ee173
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions log_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ def emit(self, record):
},
'loggers': {
'f': {},
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': False,
}
},
'root': {},
}
Expand Down

0 comments on commit 00ee173

Please sign in to comment.