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