Browse Source

Minor tweak to test logging

remotes/origin/Galerie
Tomas Gavenciak 9 years ago
parent
commit
e0430aad7c
  1. 4
      mamweb/settings_common.py

4
mamweb/settings_common.py

@ -201,7 +201,7 @@ LOGGING = {
'loggers': {
# Catch-all logger
'': {
'handlers': ['console'], # Add 'mail_admins' in prod (and test?)
'handlers': ['console'], # Add 'mail_admins' in prod and test
'level': 'DEBUG',
},
@ -210,7 +210,7 @@ LOGGING = {
'handlers': {
'console': {
'level': 'INFO', ## Set to 'DEBUG' in local (and test?)
'level': 'WARNING', ## Set to 'DEBUG' in local
'class': 'logging.StreamHandler',
'formatter': 'verbose',
},

Loading…
Cancel
Save