Logs still use the old namespace prefix

Bug #1685148 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Won't Fix
Undecided
Unassigned

Bug Description

If you remove oslo.messaging=INFO from the default log levels, you can see logs like that:

2017-04-20 17:36:01.349 5408 DEBUG oslo.messaging._drivers.impl_rabbit [-] Timed out waiting for RPC response: timed out _raise_timeout /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py:1036

I suspect it has something to do with stevedore, but I haven't been able to check yet.

Revision history for this message
Thomas Herve (therve) wrote :

FTR it comes from here: https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L435

Because oslo.messaging mostly uses logging directly, but drivers use oslo.log, we get both namespaces.

Revision history for this message
Ben Nemec (bnemec) wrote :

It looks like this is intentional behavior: https://github.com/openstack/oslo.log/blob/4819030b40fd0089ad2bade2317c9705c6fa61d9/oslo_log/log.py#L446

I suppose there's some chance for confusion, but I'm not sure it's enough to justify potentially breaking someone's logging config to change this behavior.

Changed in oslo.messaging:
status: New → Won't Fix
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.