API service does not configure logging properly

Bug #1152584 reported by Doug Hellmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
Angus Salkeld

Bug Description

When the keystone middleware tries to log, this message comes out instead:

  No handlers could be found for logger "keystoneclient.middleware.auth_token"

I suspect the problem is caused by the way the oslo logging setup code uses the project name as the root logger, instead of an empty string.

Tags: effort-s
tags: added: eff
tags: added: effort-s
removed: eff
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Low
milestone: none → grizzly-rc1
Angus Salkeld (asalkeld)
Changed in ceilometer:
assignee: nobody → Angus Salkeld (asalkeld)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24285

Changed in ceilometer:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/24440
Committed: http://github.com/openstack/ceilometer/commit/9c33366fbd6535e1e23435463c9675d32c840bb8
Submitter: Jenkins
Branch: master

commit 9c33366fbd6535e1e23435463c9675d32c840bb8
Author: Doug Hellmann <email address hidden>
Date: Thu Mar 14 08:03:40 2013 -0700

    Update openstack.common

    The main motivation for this update is to fix
    the way logging is configured so that all
    libraries are able to log at the default level.
    The other changes come in because there's no
    clean way to update the common libs piecemeal.

    bug 1152584

    Change-Id: I22563f7c0aa7c48edc81cb85328c3ae3ec8c2f11
    Signed-off-by: Doug Hellmann <email address hidden>

Changed in ceilometer:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/24285
Committed: http://github.com/openstack/ceilometer/commit/ef5e08829a744029e45dfcdc7494e856c1ba0b0f
Submitter: Jenkins
Branch: master

commit ef5e08829a744029e45dfcdc7494e856c1ba0b0f
Author: Angus Salkeld <email address hidden>
Date: Thu Mar 14 22:05:31 2013 +1100

    Set the default_log_levels to include keystoneclient

    This creates a loggger for keystoneclient so we don't get:
    "
    No handlers could be found for logger "keystoneclient.middleware.auth_token"
    "

    bug 1152584
    Signed-off-by: Angus Salkeld <email address hidden>

    Change-Id: I72d4de37799956b33371826aae50d8ac1ee333b1

Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.