Set debug level for django.template to INFO
As stated in related bug - with DEBUG level of logging,
there are some false positive traces in horizon log in Pike.
Change-Id: Ie9c85c421366dc0cd1ad18f30f25e00ecb7f8d05
Related-Prod: https://mirantis.jira.com/browse/PROD-17558
diff --git a/horizon/files/horizon_settings/_horizon_settings.py b/horizon/files/horizon_settings/_horizon_settings.py
index 144b51e..4c0faf6 100644
--- a/horizon/files/horizon_settings/_horizon_settings.py
+++ b/horizon/files/horizon_settings/_horizon_settings.py
@@ -75,6 +75,15 @@
'handlers': ['null'],
'propagate': False,
},
+ {%- if server.version not in ['juno', 'liberty', 'kilo', 'mitaka', 'newton', 'ocata'] %}
+ # DEBUG level for django.template starting Pike has some false positive traces, set it to INFO
+ # by default. Caused by bug PROD-17558.
+ 'django.template': {
+ 'handlers': ['file'],
+ 'level': 'INFO',
+ 'propagate': True,
+ },
+ {%- endif %}
'requests': {
'handlers': ['null'],
'propagate': False,