common/log.py creates its own logger

Bug #1340778 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Jakub Libosvar

Bug Description

Using log decorator from neutron.common.log causes creating new logger and not respecting logging level of decorated methods.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Jakub Libosvar (libosvar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/106399
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0540847c89a463f22438c6da6a0d03dc5a86d89f
Submitter: Jenkins
Branch: master

commit 0540847c89a463f22438c6da6a0d03dc5a86d89f
Author: Jakub Libosvar <email address hidden>
Date: Fri Jul 11 16:27:40 2014 +0200

    Use method's logger in log decorator

    Previously decorators shared logger. This patch makes LOG object in
    closure for every decorated method in order to use correct logging
    level.

    Closes-Bug: #1340778
    Change-Id: If907acbab34f8bf23e1277e66c3ddd839f668764

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
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.