Use consistent log handler for django.template module

Change-Id: Iecfc2ceb1490c119947594c470843e42553d9cd0
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-09-21 02:54:49 +09:00
parent fe46752b2c
commit 2decf6b742

View File

@@ -911,7 +911,8 @@ LOGGING = {
# 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'],
# 'handlers': ['console'],
'handlers': ['<%= @log_handlers.join("', '") %>'],
'level': '<%= @django_template_log_level %>',
'propagate': False,
},