Merge "local_settings.py: Disable django.template DEBUG messages"
This commit is contained in:
commit
11a331c372
@ -237,6 +237,14 @@ LOGGING = {
|
|||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
'propagate': False,
|
'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
|
# Logging from django.db.backends is VERY verbose, send to null
|
||||||
# by default.
|
# by default.
|
||||||
'django.db.backends': {
|
'django.db.backends': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user