Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change mdn_prod logging to admin emails

  • Loading branch information...
commit 9a64180854a437fc25e6417a4c31792999e281c7 1 parent 3a32a2b
@groovecoder groovecoder authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 settings.py
View
5 settings.py
@@ -1107,9 +1107,9 @@ def read_only_mode(env):
'level': LOG_LEVEL,
},
'mdn_prod': {
- 'class': 'logging.handlers.SysLogHandler',
+ 'class': 'django.utils.log.AdminEmailHandler',
'formatter': 'mdn_default',
- 'level': LOG_LEVEL,
+ 'level': logging.ERROR,
},
},
'loggers': {
@@ -1118,6 +1118,5 @@ def read_only_mode(env):
'level': LOG_LEVEL,
'propagate': False,
},
-
},
}
Please sign in to comment.
Something went wrong with that request. Please try again.