Merge "local_settings.py: Disable django.template DEBUG messages"

This commit is contained in:
Zuul 2022-04-08 20:54:23 +00:00 committed by Gerrit Code Review
commit 11a331c372

View File

@ -237,6 +237,14 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False,
},
# VariableDoesNotExist error in the debug level from django.template
# is VERY noisy and it is output even for valid cases,
# so set the default log level of django.template to INFO.
'django.template': {
'handlers': ['console'],
'level': 'INFO',
'propagate': False,
},
# Logging from django.db.backends is VERY verbose, send to null
# by default.
'django.db.backends': {