]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Pull Oslo log fix to enable root logger initialization
authorZhiteng Huang <zhiteng.huang@intel.com>
Wed, 13 Mar 2013 05:58:27 +0000 (13:58 +0800)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 22 Mar 2013 04:05:06 +0000 (22:05 -0600)
commit6af4d65e975366b4a0df3bc41ae531eafe5e14b7
tree48c3465223babdcdf484efcc935048106d022d8f
parent36e4e85b1f669a9fed873f4a43c783947430c763
Pull Oslo log fix to enable root logger initialization

Previous log module in Oslo doesn't initialize root logger, which results
in lacking of log message for non-openstack library (such as stevedore).
This patch pull latest log module from Oslo, which has recently merged a
change to enable root logger initialization.

Notice that this change also includes one log modules fix in Oslo which
'unignore' log_format setting.  As a result, one may experience log format
change when using devstack.  To get old log format back, simply assign
a NULL string (aka nothing) to 'log_format' configure option in cinder.conf.
For example, just append cinder.conf with one new line 'log_format = '.

Fix bug: # 1131322

Change-Id: I86396f15ca152512ce6d18d6d424a855b27f495e
(cherry picked from commit 2b66a382aae3e1c80342feb32549c427677d39c6)
cinder/openstack/common/log.py