diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-20 16:47:53 +0000 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-20 16:50:08 +0000 |
commit | aed10b2c8ba7ce22ae51c6094a6f064e5dcf2b52 (patch) | |
tree | e469c5b750df892d41824ed71b528e8ee06aeed3 | |
parent | a5dc49c1e2d3173a0d336beb260bacad7441d99a (diff) | |
download | nova-aed10b2c8ba7ce22ae51c6094a6f064e5dcf2b52.tar.gz |
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: I879360ecd60d607112b1210d7afd5860e9ccb295
-rw-r--r-- | nova/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/__init__.py b/nova/__init__.py index 00ee99c375..1dc04336d5 100644 --- a/nova/__init__.py +++ b/nova/__init__.py @@ -32,11 +32,6 @@ """ import gettext -import logging gettext.install('nova', unicode=1) -# NOTE(jkoelker) This configures the root logger if it is not already -# configured so messages from logging setup can be written -# to the console -logging.basicConfig(format='%(message)s') |