[node-patches] Change in ovirt-node[master]: Don't break existing loggers when ovirt.node.log is imported

rbarry at redhat.com rbarry at redhat.com
Wed Apr 30 16:10:25 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Don't break existing loggers when ovirt.node.log is imported
......................................................................

Don't break existing loggers when ovirt.node.log is imported

Don't disable existing loggers when we initialize ours, so they
continue to work.

Change-Id: Ib91496239b8cc4c0096214127fa461e12b266dcb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1080974
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/log.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/70/27270/1

diff --git a/src/ovirt/node/log.py b/src/ovirt/node/log.py
index d2e40cc..e1464c2 100644
--- a/src/ovirt/node/log.py
+++ b/src/ovirt/node/log.py
@@ -68,7 +68,7 @@
 %(message)s
         """)
     logging.debug("Setting log config to: %s" % mixedfile)
-    logging.config.fileConfig(mixedfile)
+    logging.config.fileConfig(mixedfile, disable_existing_loggers=False)
 
 
 def getLogger(name=None):


-- 
To view, visit http://gerrit.ovirt.org/27270
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib91496239b8cc4c0096214127fa461e12b266dcb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list