[libvirt] [PATCH] 526769 change logrotate config default to weekly

Mark McLoughlin markmc at redhat.com
Tue Oct 6 12:51:49 UTC 2009


On Mon, 2009-10-05 at 17:07 +0200, Daniel Veillard wrote:
> On Mon, Oct 05, 2009 at 01:37:57PM +0100, Daniel P. Berrange wrote:
> > On Fri, Oct 02, 2009 at 06:08:41PM +0200, Daniel Veillard wrote:
> > >   https://bugzilla.redhat.com/show_bug.cgi?id=526769
> > > 
> > >   Current setup is daily with 7 backups so one week worth of logs
> > > per domain in /var/log/libvirt/qemu/*.log
> > >   First a week worth of backup is a bit short, second for most domains
> > > the logs are really small, and with 7 backup files this directory gets
> > > crowded quickly.
> > > 
> > >   This patches changes to weekly, with 4 backups, so always a month
> > > worth of logs, and will nearly cut in half the number of entries in that
> > > directory.
> > 
> > ACK, sounds good.
> > 
> > 
> > I notice that file is long since missing rules for the equivalent
> > 
> >   /var/log/libvirt/uml/
> >   /var/log/libvirt/lxc/
> > 
> > driver directories too
> 
>   Ah, good point, I added those before commiting !

Fate has conspired against you to yet again prove that there's no such
thing as a safe change! :-)

Patch on its way

Cheers,
Mark.




More information about the libvir-list mailing list