Python client library for Keystone

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

Reported by Joseph Heck on 2012-02-19
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Jamie Lennox

Bug Description

most commands result in this line being printed: 'No handlers could be found for logger "keystoneclient.v2_0.client"'

Dolph Mathews (dolph) on 2012-03-02
Changed in keystone:
importance: Undecided → Low

Fix proposed to branch: master

Changed in keystone:
assignee: nobody → Russell Bryant (russellb)
status: Confirmed → In Progress
Changed in keystone:
assignee: Russell Bryant (russellb) → nobody
status: In Progress → Confirmed
Dolph Mathews (dolph) on 2012-05-31
summary: - fix logging error message
+ No handlers could be found for logger "keystoneclient.v2_0.client"
Thierry Carrez (ttx) on 2012-07-04
affects: keystone → python-keystoneclient

Raised the priority on this bug now that middleware.auth_token has been moved into keystoneclient.

Changed in python-keystoneclient:
importance: Low → High
summary: - No handlers could be found for logger "keystoneclient.v2_0.client"
+ No handlers could be found for logger ""keystoneclient..."
summary: - No handlers could be found for logger ""keystoneclient..."
+ No handlers could be found for logger "keystoneclient..."
Chmouel Boudjnah (chmouel) wrote :

is that for swift ? because we have fixed it here :

Dolph Mathews (dolph) wrote :

Chmouel: in general, however I've lowered the priority again since auth_token can be handed an existing logger (thanks!)

This still affects CLI usage

Changed in python-keystoneclient:
importance: High → Low
ZhiQiang Fan (aji-zqfan) wrote :

so does keystoneclient.middleware.auth_token

Changed in python-keystoneclient:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
ZhiQiang Fan (aji-zqfan) on 2013-08-31
Changed in python-keystoneclient:
status: Confirmed → In Progress
Changed in python-keystoneclient:
assignee: ZhiQiang Fan (aji-zqfan) → Jamie Lennox (jamielennox)
ZhiQiang Fan (aji-zqfan) wrote :

sorry for it, actually i already have a fix in my local branch, but seems more problems are rising when test, especially huge amount of screen logs when running test, (mainly printed by middleware.auth_token module) and i already upload other patch to fix those problem first

sorry again, wish i have more time to working on openstack

Dolph Mathews (dolph) on 2014-02-04
tags: removed: python-keystoneclient

Submitter: Jenkins
Branch: master

commit 59daf4bf02b60a523d7f68004b75316086e91d2a
Author: Brant Knudson <email address hidden>
Date: Wed Apr 16 17:07:03 2014 -0500

    CLI always configures logging

    When the keystone CLI wound up logging something and --debug
    wasn't set, a message was printed that 'No handlers could be
    found for logger <whatever>'. This is because Python logging
    was only configured when the --debug option was set.

    This change makes it so that logging is always configured. If
    --debug is used then the level is DEBUG and if it's not used
    then the level is WARNING.

    Change-Id: Ib01d1072acff0d6ede468b0ecab4f871459014ee
    Closes-Bug: #936404

Changed in python-keystoneclient:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers