From c16a130510658ad0e146c71ef0addc72f2b8a741 Mon Sep 17 00:00:00 2001
From: Mauricio Lima <mauriciolimab@gmail.com>
Date: Thu, 10 Nov 2016 11:28:59 -0300
Subject: [PATCH] Use horizon_logging_debug variable

TrivialFix

Change-Id: Ic474306223b9c6f5fa730ef765ca60c59d76f24b
---
 ansible/roles/horizon/defaults/main.yml           | 2 ++
 ansible/roles/horizon/templates/local_settings.j2 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/horizon/defaults/main.yml b/ansible/roles/horizon/defaults/main.yml
index 169bfd68be..2658e2fd3b 100644
--- a/ansible/roles/horizon/defaults/main.yml
+++ b/ansible/roles/horizon/defaults/main.yml
@@ -21,6 +21,8 @@ horizon_image_full: "{{ horizon_image }}:{{ horizon_tag }}"
 ####################
 openstack_horizon_auth: "{'auth_url':'{{ openstack_auth.auth_url }}','username':'{{ openstack_auth.username }}','password':'{{ openstack_auth.password }}','project_name':'{{ openstack_auth.project_name }}'}"
 
+horizon_logging_debug: "{{ openstack_logging_debug }}"
+
 
 ####################
 # Horizon
diff --git a/ansible/roles/horizon/templates/local_settings.j2 b/ansible/roles/horizon/templates/local_settings.j2
index ea0eb7a1c4..733e2ab426 100644
--- a/ansible/roles/horizon/templates/local_settings.j2
+++ b/ansible/roles/horizon/templates/local_settings.j2
@@ -7,7 +7,7 @@ from django.utils.translation import ugettext_lazy as _
 from openstack_dashboard import exceptions
 from openstack_dashboard.settings import HORIZON_CONFIG
 
-DEBUG = {{ openstack_logging_debug }}
+DEBUG = {{ horizon_logging_debug }}
 TEMPLATE_DEBUG = DEBUG
 
 COMPRESS_OFFLINE = True