Propagate django.request errors down to sentry instead of mail, also fix global logging entry

This commit is contained in:
2011-09-28 09:42:10 +01:00
parent 2e70cb8ee4
commit fd264a044a

View File

@@ -164,7 +164,7 @@ LOGGING = {
}, },
}, },
'loggers': { 'loggers': {
'()': { '': {
'level': 'WARNING', 'level': 'WARNING',
'handlers': ['sentry'], 'handlers': ['sentry'],
}, },
@@ -179,9 +179,9 @@ LOGGING = {
'level':'INFO', 'level':'INFO',
}, },
'django.request': { 'django.request': {
'handlers': ['mail_admins'], 'handlers': ['null'],
'level': 'ERROR', 'level': 'ERROR',
'propagate': False, 'propagate': True,
}, },
} }
} }