Skip to content

Commit

Permalink
Merge pull request #338 from ministryofjustice/quieten-noisy-logs
Browse files Browse the repository at this point in the history
Stop reams of unnecessary logs
  • Loading branch information
David Read authored Sep 25, 2018
2 parents 25e714e + 4ad2392 commit b182f82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions control_panel_api/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ def is_enabled(value):
'handlers': ['console'],
'level': os.environ.get('LOG_LEVEL', 'DEBUG'),
},
'django.template': {
# Get rid of noisy debug messages
'handlers': ['console'],
'level': os.environ.get('LOG_LEVEL', 'INFO'),
'propagate': False,
},
'django': {
'handlers': ['console'],
'level': os.environ.get('LOG_LEVEL', 'DEBUG'),
Expand Down

0 comments on commit b182f82

Please sign in to comment.