@ -190,7 +190,7 @@ except:
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
@ -199,6 +199,12 @@ LOGGING = {
},
'loggers': {
'django': {
'handlers': ['console'],
'level': 'DEBUG',
# Catch-all logger
'': {
'handlers': ['console'], # Add 'mail_admins' in prod and test
@ -63,5 +63,6 @@ CSRF_COOKIE_SECURE = True
# LOGGING
LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins']
LOGGING['loggers']['django']['handlers'] = ['console', 'mail_admins']
@ -61,6 +61,7 @@ CSRF_COOKIE_SECURE = True