Change in vdsm[master]: vdsmd.init: ajust libvirt log file

dougsland at redhat.com dougsland at redhat.com
Fri May 17 19:16:19 UTC 2013


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: vdsmd.init: ajust libvirt log file
......................................................................

vdsmd.init: ajust libvirt log file

Nowadays VDSM configure libvirt daemon to log into /var/log/libvirtd.log.
This patch will make vdsm set the log file into the current default
location for libvirt logs /var/log/libvirt/libvirtd.conf.

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


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

diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index 994d869..e177b59 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -350,8 +350,7 @@
     set_if_default $ldconf LIBVIRTD_ARGS --listen
     set_if_default $ldconf DAEMON_COREFILE_LIMIT unlimited
     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_outputs \"1:file:/var/log/libvirt/libvirtd.log\"
     set_if_default $lconf log_filters "\"3:virobject 3:virfile 2:virnetlink \
 3:cgroup 3:event 3:json 1:libvirt 1:util 1:qemu\""
 
@@ -393,7 +392,7 @@
     local stanza=`mktemp`
     /bin/cat > "$stanza" <<EOF
 # vdsm
-/var/log/libvirtd.log {
+/var/log/libvirt/libvirtd.log {
     rotate 100
     missingok
     copytruncate


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee325d456cc3d184c0084c4bf547bc126a00938a
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