← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1010350] Re: Confusing to put DEBUG messages in horizon_error.log

 

https://review.openstack.org/25510 changed DevStack to use Horizon's
local_settings.py.example

** Changed in: devstack
       Status: Triaged => Fix Released

-- 
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/1010350

Title:
  Confusing to put DEBUG messages in horizon_error.log

Status in devstack - openstack dev environments:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  Currently the horizon DEBUG message are  written into
  horizon_error.log which looks very confusing. There're lots of [error]
  which doesn't mean it is a real error, but DEBUG messages generated by
  horizon.

  
  ====================Horizon Log=========================
  ...
  [Fri Jun 08 15:12:34 2012] [error] 
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:glanceclient.common.http:RESP: {'status': '200', 'content-length': '0', 'x-image-meta-id': 'f656baec-83e7-42c7-bc0c-61875338ca14', 'content-location': u'http://192.168.156.204:9292/v1/images/f656baec-83e7-42c7-bc0c-61875338ca14', 'x-image-meta-deleted': 'False', 'x-image-meta-container_format': 'ami', 'x-image-meta-min_ram': '0', 'x-image-meta-protected': 'False', 'x-image-meta-min_disk': '0', 'x-image-meta-created_at': '2012-06-08T06:35:44', 'x-image-meta-size': '0', 'x-image-meta-status': 'queued', 'etag': 'None', 'location': 'http://192.168.156.204:9292/v1/images/f656baec-83e7-42c7-bc0c-61875338ca14', 'x-image-meta-is_public': 'True', 'date': 'Fri, 08 Jun 2012 07:12:34 GMT', 'x-image-meta-owner': '656437f5822c4e36811b83366126f2a7', 'x-image-meta-updated_at': '2012-06-08T06:35:44', 'content-type': 'text/html; charset=UTF-8', 'x-image-meta-disk_format': 'ami', 'x-image-meta-name': 'cirros-0.3.0-x86_64-uec'}
  [Fri Jun 08 15:12:34 2012] [error] RESP BODY: 
  [Fri Jun 08 15:12:34 2012] [error] 
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:keystoneclient.client:REQ: curl -i http://192.168.156.204:5000/v2.0/tenants -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 9f6aa608d5c144f2a0e1c5703148b99e"
  [Fri Jun 08 15:12:34 2012] [error] 
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:keystoneclient.client:RESP: {'status': '200', 'content-location': u'http://192.168.156.204:5000/v2.0/tenants', 'transfer-encoding': 'chunked', 'vary': 'X-Auth-Token', 'date': 'Fri, 08 Jun 2012 07:12:34 GMT', 'content-type': 'application/json'}
  [Fri Jun 08 15:12:34 2012] [error] RESP BODY: {"tenants_links": [], "tenants": [{"enabled": true, "description": null, "name": "admin", "id": "656437f5822c4e36811b83366126f2a7"}, {"enabled": true, "description": null, "name": "demo", "id": "756381baa6944c1e9cf3e9c0c9a9592d"}]}
  [Fri Jun 08 15:12:34 2012] [error] 
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:horizon.api.keystone:Creating a new keystoneclient connection to http://192.168.156.204:5000/v2.0.
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:keystoneclient.client:REQ: curl -i http://192.168.156.204:5000/v2.0/tenants -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 9f6aa608d5c144f2a0e1c5703148b99e"
  [Fri Jun 08 15:12:34 2012] [error] 
  [Fri Jun 08 15:12:34 2012] [error] DEBUG:keystoneclient.client:RESP: {'status': '200', 'content-location': u'http://192.168.156.204:5000/v2.0/tenants', 'transfer-encoding': 'chunked', 'vary': 'X-Auth-Token', 'date': 'Fri, 08 Jun 2012 07:12:34 GMT', 'content-type': 'application/json'}
  [Fri Jun 08 15:12:34 2012] [error] RESP BODY: {"tenants_links": [], "tenants": [{"enabled": true, "description": null, "name": "admin", "id": "656437f5822c4e36811b83366126f2a7"}, {"enabled": true, "description": null, "name": "demo", "id": "756381baa6944c1e9cf3e9c0c9a9592d"}]}
  [Fri Jun 08 15:12:34 2012] [error] 
   ...
  ================================================

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