OpenStack Compute (Nova)

Logging configuration file support not available

Reported by Unmesh Gurjar on 2011-12-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Wishlist
Jason Kölker

Bug Description

OpenStack projects like Glance, Keystone support the log settings to be specified in a logging configuration file. Currently, Nova does not have this support.

Thierry Carrez (ttx) on 2011-12-21
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in nova:
assignee: nobody → Jason Kölker (jason-koelker)

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

Changed in nova:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/4152
Committed: http://github.com/openstack/nova/commit/2f317ba79f262a8cd325844a1a258efab22e5fa1
Submitter: Jenkins
Branch: master

commit 2f317ba79f262a8cd325844a1a258efab22e5fa1
Author: Jason Kölker <email address hidden>
Date: Mon Feb 13 16:26:31 2012 -0600

    Allow file logging config

    * Fixes lp904305
    * remove module level log functions (getLogger to rule them all)
    * Move specific Environment logging to the one place it is used
    * Wrap getLogger to return a logger wrapped in a NovaContextAdapter
    * Do not overwrite the root logger
    * save_and_reraise_exception logs via error for passing exc_info
    * Uses CommonConfigOptions for compatability across Openstack Projects
    * Prefers CommonConfigOptions over legacy options
    * Install a NullHandler on the root logger if configured by FLAGS
    * Include example logging config file to mimic Nova defaults

    Change-Id: Ie59c3f755c142e2b7dc3b94b4e82e142e157bfac

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers