Change in vdsm[master]: logging: Stop the fileConfig from disabling existing logs

dkuznets at redhat.com dkuznets at redhat.com
Thu Feb 27 18:07:08 UTC 2014


Dima Kuznetsov has uploaded a new change for review.

Change subject: logging: Stop the fileConfig from disabling existing logs
......................................................................

logging: Stop the fileConfig from disabling existing logs

Unless disable_existsing_loggers is passed as true, logging checks
the pre-existing logs and disables any that are not mentioned in the
configuration file, this causes various logs to be not visible.

Change-Id: Ia6cbf7d749cfc2d432624213bfe5beb26055e5a8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1060510
Signed-off-by: Dima Kuznetsov <dkuznets at redhat.com>
---
M vdsm/vdsm
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/25185/1

diff --git a/vdsm/vdsm b/vdsm/vdsm
index d91704a..1f72755 100755
--- a/vdsm/vdsm
+++ b/vdsm/vdsm
@@ -79,7 +79,7 @@
 
 
 def run(pidfile=None):
-    lconfig.fileConfig(loggerConfFile)
+    lconfig.fileConfig(loggerConfFile, disable_existing_loggers=False)
     logging.addLevelName(5, 'TRACE')
     logging.TRACE = 5  # impolite but helpful
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6cbf7d749cfc2d432624213bfe5beb26055e5a8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <dkuznets at redhat.com>


More information about the vdsm-patches mailing list