On 07/07/2013 05:12 AM, Dan Kenigsberg wrote:
On Sun, Jul 07, 2013 at 03:05:06AM -0400, Douglas Schilling Landgraf wrote:
Hi Sandro,

On 07/05/2013 07:47 AM, Sandro Bonazzola wrote:
 From cron daemon:

Date: Fri, 5 Jul 2013 13:40:01 +0200
From: Cron Daemon <r...@dellserver.home>
To: r...@dellserver.home
Subject: Cron <root@dellserver> /usr/sbin/logrotate
/etc/logrotate.d/libvirtd

error: /etc/logrotate.d/libvirtd:13 duplicate log entry for
/var/log/libvirt/libvirtd.log

/etc/logrotate.d/libvirtd content:
8<---------------------------------->8
# vdsm
/var/log/libvirt/libvirtd.log {
     rotate 100
     missingok
     copytruncate
     size 15M
     compress
     compresscmd /usr/bin/xz
     uncompresscmd /usr/bin/unxz
     compressext .xz
}
# end vdsm
/var/log/libvirt/libvirtd.log {
         weekly
         missingok
         rotate 4
         compress
         delaycompress
         copytruncate
         minsize 100k
}
8<---------------------------------->8

libvirt-daemon-1.1.0-1.fc18.x86_64
vdsm-4.11.0-95.git003cd7a.fc18.x86_64


Do you mind to test?
http://gerrit.ovirt.org/#/c/16528/1

It seems that this patch does not perform a backup of the default
libvirtd configuration; if vdsm is installed and then removed, no
libvirt.logrotate.conf would stay behind.

It would be more polite to keep the original commented out.

Make sense. I have sent a new version.

Thanks!

--
Cheers
Douglas
_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to