diff --git a/ansible/roles/horizon/templates/local_settings.j2 b/ansible/roles/horizon/templates/local_settings.j2
index 891b19441b..ea0eb7a1c4 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 = False
+DEBUG = {{ openstack_logging_debug }}
 TEMPLATE_DEBUG = DEBUG
 
 COMPRESS_OFFLINE = True