Change in vdsm[master]: vdsmd.init: do not use previous libvirt logrotate

dougsland at redhat.com dougsland at redhat.com
Sun Jul 7 06:03:50 UTC 2013


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: vdsmd.init: do not use previous libvirt logrotate
......................................................................

vdsmd.init: do not use previous libvirt logrotate

In the past VDSM have been creating /var/log/libvirtd.log to track libvirt
calls and also add rule for such file into /etc/logrotate.d/libvirtd.
However, now VDSM uses /var/log/libvirt/libvirtd.log (commit fe01963f)
and should replace any previous conf on /etc/logrotate.d/libvirtd
with VDSM suggestions for replacing libvirt logs.

Change-Id: Iaa9707d892bb03a029300f62ae1ed204cea52486
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm/vdsmd.init.in
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/28/16528/1

diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index ac1452e..a0224aa 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -406,7 +406,6 @@
 }
 # end vdsm
 EOF
-    /bin/sed -e "/# vdsm/,/# end vdsm/d" "$llogr" >> "$stanza"
     local oldmod=`/usr/bin/stat --format=%a "$llogr"`
     /bin/mv "$stanza" "$llogr"
     if [ -n "$oldmod" ]; then


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

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