Skip to content

Commit

Permalink
Stop the login page spewing reams of unnecssary logs, as per encode/d…
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Sep 24, 2018
1 parent eb0f269 commit 4ad2392
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 @@ -202,6 +202,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 4ad2392

Please sign in to comment.