diff --git a/minecraftcodex/herobrine/settings.py b/minecraftcodex/herobrine/settings.py index eed9138..ef4de9f 100644 --- a/minecraftcodex/herobrine/settings.py +++ b/minecraftcodex/herobrine/settings.py @@ -148,7 +148,6 @@ JINJA_CONFIG = { # the site admins on every HTTP 500 error when DEBUG=False. # See http://docs.djangoproject.com/en/dev/topics/logging for # more details on how to customize your logging configuration. -""" LOGGING = { 'version': 1, 'disable_existing_loggers': False, @@ -156,23 +155,9 @@ LOGGING = { 'require_debug_false': { '()': 'django.utils.log.RequireDebugFalse' } - }, - 'handlers': { - 'mail_admins': { - 'level': 'ERROR', - 'filters': ['require_debug_false'], - 'class': 'django.utils.log.AdminEmailHandler' - } - }, - 'loggers': { - 'django.request': { - 'handlers': ['mail_admins'], - 'level': 'ERROR', - 'propagate': True, - }, } } -""" + try: LOCAL_SETTINGS except NameError: