how to turn on horizon debug logging
i have turned on DEBUG = True in local_settings.py, and set the level to DEBUG. but it's still only printing error message. anyone have any idea?
The following is most part of my local_settings.py file:
import os
from django.
from openstack_dashboard import exceptions
DEBUG = True
TEMPLATE_DEBUG = DEBUG
HORIZON_CONFIG = {
'dashboards': ('project', 'admin', 'settings',),
'default_
'user_home': 'openstack_
'ajax_
'auto_
'delay': 3000,
'types': ['alert-success', 'alert-info']
},
'help_url': "http://
'exceptions': {'recoverable': exceptions.
}
LOCAL_PATH = os.path.
from horizon.utils import secret_key
SECRET_KEY = secret_
CACHES = {
'default': {
'BACKEND' : 'django.
}
}
# Send email to the console by default
EMAIL_BACKEND = 'django.
OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_
OPENSTACK_
OPENSTACK_
'name': 'native',
'can_
'can_
'can_
'can_
'can_
}
OPENSTACK_
'can_
}
OPENSTACK_
'enable_lb': False,
'enable_
'enable_
'enable_vpn': False,
# The profile_support option is used to detect if an external router can be
# configured via the dashboard. When using specific plugins the
# profile_support can be turned on if needed.
#'profile_
'profile_
}
API_RESULT_LIMIT = 1000
API_RESULT_
# The timezone of the server. This should correspond with the timezone
# of your entire OpenStack installation, and hopefully be in UTC.
TIME_ZONE = "UTC"
LOGGING = {
'version': 1,
# When set to True this will disable all logging except
# for loggers specified in this configuration dictionary. Note that
# if nothing is specified here and disable_
# django.db.backends will still log unless it is disabled explicitly.
'disable_
'handlers': {
'null': {
},
'console': {
# Set the level to "DEBUG" for verbose output logging.
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
},
'requests': {
},
'horizon': {
},
},
},
},
},
},
},
},
},
},
},
},
},
'django': {
},
'iso8601': {
},
}
}
...
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask AARON ZHANG for more information if necessary.