scrubber and other utils do not read 'default_log_levels'

Bug #1153432 reported by James Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
James Li
Grizzly
Fix Released
Undecided
James Li

Bug Description

Glance version: 2013.1

scrubber and other utils call config.setup_logging(), which does not read the 'default_log_levels' config option. That is not the same as log.setup(), which is called in glance-api and glance-registry.

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/24038

Changed in glance:
assignee: nobody → James Li (james-li-3)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/24038
Committed: http://github.com/openstack/glance/commit/1d456e546084b03cdfbf0166b850c9dcef60d42a
Submitter: Jenkins
Branch: master

commit 1d456e546084b03cdfbf0166b850c9dcef60d42a
Author: James Li <email address hidden>
Date: Mon Mar 11 03:40:27 2013 +0000

    Fix scrubber and other utils to use log.setup().

    scrubber and other utils call config.setup_logging(),
    which does not read the 'default_log_levels' config option.
    Fix this problem by calling log.setup(), just like what
    glance-api and glance-registry do.

    Per John Bresnahan's comment, made the change to check
    the existence of log conf file in oslo-incubator code.
    Refer to https://review.openstack.org/#/c/24230/

    Change-Id: I4a53d74c4cd8274a3174b246207a6ed76c5e31c6
    Fixes: bug #1153432

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