From a9e94fc50466ffe0c079d661a976d0a39113654c Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Tue, 5 Feb 2013 16:04:10 -0800 Subject: [PATCH] Re-enable client logging. The log level setting got moved before the local conf import, thereby making it impossible to actually set the log level to debug. This moves it back to the correct ordering. Change-Id: I7b6c17350add058215c8dd3e3dd7351df64a544a --- openstack_dashboard/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index 421b7dbd2..3f14528b7 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -167,10 +167,6 @@ OPENSTACK_KEYSTONE_DEFAULT_ROLE = 'Member' DEFAULT_EXCEPTION_REPORTER_FILTER = 'horizon.exceptions.HorizonReporterFilter' -if DEBUG: - logging.basicConfig(level=logging.DEBUG) - - try: from local.local_settings import * except ImportError: @@ -182,6 +178,10 @@ COMPRESS_OFFLINE_CONTEXT = { 'HORIZON_CONFIG': HORIZON_CONFIG } +if DEBUG: + logging.basicConfig(level=logging.DEBUG) + + # Deprecation for Essex/Folsom dashboard names; remove this code in H. _renames = ( ('horizon.dashboards.nova', 'openstack_dashboard.dashboards.project'),