log-file and log-dir cannot suppress the logs in ovs and linux agent

Bug #1073194 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
yong sheng gong

Bug Description

even we set log-file and log-dir in quantum.conf, the log still can be print on stderr in ovs and linux bridge agents.
This is because before we setup root logger, some loggers are already set up, which is using default handlers.

Changed in quantum:
assignee: nobody → yong sheng gong (gongysh)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
status: New → In Progress
Changed in quantum:
milestone: none → grizzly-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/15034
Committed: http://github.com/openstack/quantum/commit/fa2a5c09c57f84cfc4e424c733c920f2004bcca8
Submitter: Jenkins
Branch: master

commit fa2a5c09c57f84cfc4e424c733c920f2004bcca8
Author: gongysh <email address hidden>
Date: Tue Oct 30 23:21:46 2012 +0800

    Use openstack common log to do logging.

    Bug #1073194

    We use openstack common log to do logging. At the same time, we will use
    quantum logger as our top logger, so that all sub loggers will be set
    according to quantum.conf

    Change-Id: I5adf72e6031ad437e05c3521864a83757b3e7887

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