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

Loading…
Cancel
Save