mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Propagate django.request errors down to sentry instead of mail, also fix global logging entry
This commit is contained in:
@@ -164,7 +164,7 @@ LOGGING = {
|
||||
},
|
||||
},
|
||||
'loggers': {
|
||||
'()': {
|
||||
'': {
|
||||
'level': 'WARNING',
|
||||
'handlers': ['sentry'],
|
||||
},
|
||||
@@ -179,9 +179,9 @@ LOGGING = {
|
||||
'level':'INFO',
|
||||
},
|
||||
'django.request': {
|
||||
'handlers': ['mail_admins'],
|
||||
'handlers': ['null'],
|
||||
'level': 'ERROR',
|
||||
'propagate': False,
|
||||
'propagate': True,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user