Permalink
Browse files

Merge pull request #984 from groovecoder/server-error-logging

change mdn_prod logging to admin emails
  • Loading branch information...
2 parents 3a32a2b + 9a64180 commit 7e48045bc4441eeb0daab5dcc3714b2ea540a33d @lmorchard lmorchard committed Apr 4, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 settings.py
View
@@ -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,
},
-
},
}

0 comments on commit 7e48045

Please sign in to comment.