Consistent logger instantiation

Bug #1015685 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Wishlist
Brian Waldon

Bug Description

Let's standardize on

LOG = logging.getLogger(__name__)

for logger instantiation and document it in HACKING.rst.

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

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

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

Reviewed: https://review.openstack.org/8762
Committed: http://github.com/openstack/glance/commit/4363af6cc81e4bc63fb39fae7b059ca3defaabe0
Submitter: Jenkins
Branch: master

commit 4363af6cc81e4bc63fb39fae7b059ca3defaabe0
Author: Brian Waldon <email address hidden>
Date: Wed Jun 20 10:33:43 2012 -0700

    Standardize logger instantiation

    Use LOG for variable name and __name__ for logger name. Also
    document this fact in HACKING.rst

    Fixes bug 1015685

    Change-Id: I0d9d80bef66197a28ed3d650f17859202048d776

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-2 → 2012.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.