Change in vdsm[master]: vdsmd.init: replace libvirt logs filter

dougsland at redhat.com dougsland at redhat.com
Fri Apr 5 20:19:00 UTC 2013


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: vdsmd.init: replace libvirt logs filter
......................................................................

vdsmd.init: replace libvirt logs filter

Currently VDSM adds to libvirtd.conf a filter to include debug
messages from libvirt daemon. However, the log size is increasing quickly
with useless information when the system is running out of problem.
This patch will provide a better filter for logging.

Thanks to Pavel Zhukov for suggestion.

Change-Id: I31218b3a6ac2f0866df03c6f84c9303d1a53f745
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=920614
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm/vdsmd.init.in
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/42/13642/1

diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index c804ce8..8632a76 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -300,7 +300,8 @@
     set_if_default $qconf save_image_format \"lzop\"
     # FIXME until we are confident with libvirt integration, let us have a verbose log
     set_if_default $lconf log_outputs \"1:file:/var/log/libvirtd.log\"
-    set_if_default $lconf log_filters "\"1:libvirt 3:event 3:json 1:util 1:qemu\""
+    set_if_default $lconf log_filters "\"3:virobject 3:virfile 2:virnetlink 3:cgroup 2:libvirt 3:event \
+3:json 1:util 1:qemu\""
 
     # If the ssl flag is set, update the libvirt and qemu configuration files
     # with the location for certificates and permissions.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31218b3a6ac2f0866df03c6f84c9303d1a53f745
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list