]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Stop double logging to the console
authorVishvananda Ishaya <vishvananda@gmail.com>
Thu, 20 Sep 2012 16:52:51 +0000 (16:52 +0000)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 21 Sep 2012 05:13:39 +0000 (23:13 -0600)
commitd2f9449dd13152a8e270855f17e06d33d6971fb3
tree274a5cc4dc7fe8824e9a9aae45e21258a1c552b9
parenta0b9820dca0654cf3580533354f9af2444d84301
Stop double logging to the console

The code in nova for logging added an extra root handler to be
able to log messages to the console during log setup. This handler
was removed in the setup method. The common setup method no longer
removes this handler, so don't create it. Note that there may be
a small period before the logging setup is finished where messages
will not appear.

Fixes bug 1053512

Change-Id: I559cca8ffc2a33beff22025e42a9713487245980
(cherry picked from commit a1cbbe2e9e5d7a5ec55ec1197571cd68fcdbad15)
cinder/__init__.py