1 # A sample logging configuration. The only tangible logging
2 # performed by this configuration is to send an email to
3 # the site admins on every HTTP 500 error when DEBUG=False.
4 # See http://docs.djangoproject.com/en/dev/topics/logging for
5 # more details on how to customize your logging configuration.
8 'disable_existing_loggers': False,
10 'require_debug_false': {
11 '()': 'django.utils.log.RequireDebugFalse'
17 'filters': ['require_debug_false'],
18 'class': 'django.utils.log.AdminEmailHandler'
23 'handlers': ['mail_admins'],