Maor Lipchuk has uploaded a new change for review.
Change subject: logger: add libvirtconnection to the logger.conf
......................................................................
logger: add libvirtconnection to the logger.conf
libvirtconnection.py does not print logs to the vdsm.log since it does not
configure in logger.conf.
This patch fix that by adds libvirtconnection to the
logger.conf
Signed-off-by: Maor Lipchuk <mlipchuk(a)redhat.com>
Change-Id: I4af25bbc17d8f8a75bc57505b19bfc2096a3990d
---
M vdsm/logger.conf.in
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/58/22858/1
diff --git a/vdsm/logger.conf.in b/vdsm/logger.conf.in
index e7ff032..20b6f79 100644
--- a/vdsm/logger.conf.in
+++ b/vdsm/logger.conf.in
@@ -1,5 +1,5 @@
[loggers]
-keys=root,vds,Storage,metadata,ovirt_hosted_engine_ha
+keys=root,vds,Storage,metadata,ovirt_hosted_engine_ha,libvirtconnection
[handlers]
keys=console,syslog,logfile,metadata
@@ -18,6 +18,12 @@
qualname=vds
propagate=0
+[logger_libvirtconnection]
+level=DEBUG
+handlers=syslog,logfile
+qualname=libvirtconnection
+propagate=0
+
[logger_Storage]
level=DEBUG
handlers=logfile
--
To view, visit
http://gerrit.ovirt.org/22858
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4af25bbc17d8f8a75bc57505b19bfc2096a3990d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk(a)redhat.com>