← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331558] Re: Horizon logging DEBUG messages when DEBUG is disabled

 

The DEBUG setting is a Django setting that helps you troubleshoot issues
by displaying error messages directly in the browser, and is not
directly related to logging configuration.

To adjust the log levels, you should look at the LOGGING dictionary in
the local_settings.py, see
https://github.com/openstack/horizon/blob/799d24e13f/openstack_dashboard/local/local_settings.py.example#L273
where you can adjust the levels for individual loggers or, if you want
to do it at a general level, adjust the level in the 'handlers' section
(e.g. set 'INFO' for the main 'console' logger).

http://docs.openstack.org/developer/horizon/topics/deployment.html#logging

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1331558

Title:
  Horizon logging DEBUG messages when DEBUG is disabled

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  My horizon log is full of DEBUG messages even though I have debug
  disabled. This is going to waste disk space and cause unnecessary
  overhead.

  From local_settings.py:
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG

  Here's a sample:
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "loadbalancers" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "firewalls" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "vpn" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "loadbalancers" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "firewalls" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "vpn" is not registered with Dashboard "project".
  2014-06-18 16:41:29,857 6253 DEBUG horizon.base Panel with slug "domains" is not registered with Dashboard "admin".
  2014-06-18 16:41:29,858 6253 DEBUG horizon.base Panel with slug "groups" is not registered with Dashboard "admin".
  2014-06-18 16:41:29,858 6253 DEBUG horizon.base Panel with slug "roles" is not registered with Dashboard "admin".
  2014-06-18 16:41:29,858 6253 DEBUG horizon.base Panel with slug "domains" is not registered with Dashboard "admin".
  2014-06-18 16:41:29,858 6253 DEBUG horizon.base Panel with slug "groups" is not registered with Dashboard "admin".

  2014-06-17 18:59:48,473 8406 DEBUG keystoneclient.session REQ: curl -i -X GET http://a.b.c.d:5000/v2.0/tenants -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 08787bef694848cf9e598878d9a80582"
  2014-06-17 18:59:48,526 8406 DEBUG keystoneclient.session RESP: [200] CaseInsensitiveDict({'date': 'Tue, 17 Jun 2014 18:59:48 GMT', 'vary': 'X-Auth-Token', 'content-length': '143', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
  RESP BODY: {"tenants_links": [], "tenants": [{"description": "admin tenant", "enabled": true, "id": "9e839870dd0d4a2f96f9d71b7e7c5a4e", "name": "admin"}]}
  2014-06-17 18:59:48,671 8406 DEBUG openstack_auth.backend Authentication completed for user "admin".

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1331558/+subscriptions


References