Troubleshooting Horizon

Horizon being a Django application follows the standard Django logging model. The configuration of logging is set in the /etc/openstack_dashboard/local_settings.py file; if we have to modify the logging levels, we need to look at the logger_root and handler_file section of file/etc/keystone/logging.conf.

Let's take a look at the different logging levels for both standard OpenStack services and Horizon in escalating levels of severity:

Logging levels

OpenStack standard

Horizon

DEBUG

Yes

Yes

INFO

Yes

Yes

AUDIT

Yes

No

WARNING

Yes

Yes

ERROR

Yes

Yes

CRITICAL

Yes

Yes

TRACE

Yes

No

When we set the logging levels to DEBUG, all the different messages are logged; when we set the logging level ...

Get OpenStack: Building a Cloud Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.