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

Daniel Veillard veillard at redhat.com
Mon Oct 5 15:07:59 UTC 2009


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 !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list