No handler for loggers in each file

Bug #1609203 reported by Tang Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Tang Chen

Bug Description

Now OSC is using the style below to do logging in each command class file:

    LOG = logging.getLlogger(__name__)
    LOG.error(......)

But when we try to log something, the error below comes out:

    No handlers could be found for logger "XXX"

This is because the handler of the logger is not configured.

Tang Chen (tangchen)
Changed in python-openstackclient:
assignee: nobody → Tang Chen (tangchen)
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.