Bug#507553: libvirt: simple logrotate

2008-12-04 Thread Harald Staub
Hi Guido [...] > Makes sense to me. Would you also attach your logrotate snippet so we > can ship it? Ah yes sure, here it is: /var/log/libvirt/qemu/*.log { daily missingok rotate 7 compress delaycompress copytruncate } Cheers Harry -- To UNS

Bug#507553: [Pkg-libvirt-maintainers] Bug#507553: libvirt: simple logrotate

2008-12-04 Thread Guido Günther
forwarded 507553 [EMAIL PROTECTED] Hi Harald, On Tue, Dec 02, 2008 at 01:14:33PM +0100, Harald Staub wrote: > +++ libvirt-0.4.4/src/qemu_driver.c 2008-12-02 12:48:32.271881000 +0100 > @@ -844,7 +844,7 @@ > return -1; > } > > -if ((vm->logfile = open(logfile, O_CREAT | O_TRUN

Bug#507553: libvirt: simple logrotate

2008-12-02 Thread Harald Staub
Package: libvirt Version: 0.4.4-3 Severity: normal The log files in /var/log/libvirt/qemu/ may become quite large, especially with collectd's libvirt plugin (collects and logs drive statistics every 10 seconds). munin-libvirt-plugins has a similar effect, only that the volume is smaller (every 5 m