Skip to content

Commit

Permalink
Merge pull request #4816 from willkg/1525614-logging
Browse files Browse the repository at this point in the history
bug 1525614: adjust server logging settings for webapp
  • Loading branch information
willkg committed Feb 7, 2019
2 parents ebb9dc0 + 15ac816 commit 979cbcd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions webapp-django/crashstats/settings/base.py
Expand Up @@ -221,7 +221,7 @@ def filter(self, record):
'formatter': 'socorroapp',
},
'mozlog': {
'level': 'DEBUG',
'level': LOGGING_LEVEL,
'class': 'logging.StreamHandler',
'formatter': 'mozlog',
'filters': ['add_hostid']
Expand All @@ -247,15 +247,21 @@ def filter(self, record):
'handlers': ['console'],
'level': LOGGING_LEVEL,
},
'django.server': {
'handlers': ['console'],
'level': LOGGING_LEVEL,
},
'django.request': {
'handlers': ['console'],
'level': LOGGING_LEVEL,
},
'py.warnings': {
'handlers': ['console'],
'level': LOGGING_LEVEL,
},
'markus': {
'handlers': ['console'],
'level': 'INFO',
'level': LOGGING_LEVEL,
},
'crashstats': {
'handlers': ['console'],
Expand All @@ -269,8 +275,9 @@ def filter(self, record):
'handlers': ['mozlog'],
'level': LOGGING_LEVEL,
},
'django.request': {
'django.server': {
'handlers': ['mozlog'],
'level': LOGGING_LEVEL,
},
'crashstats': {
'handlers': ['mozlog'],
Expand Down

0 comments on commit 979cbcd

Please sign in to comment.