From: Dan Kenigsberg Date: Wed, 21 Oct 2009 11:56:04 +0000 (+0200) Subject: Do not log rotate very small logs X-Git-Tag: v0.7.3~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03fe2d0aefb57a096a102bf23375f0a167ca189;p=thirdparty%2Flibvirt.git Do not log rotate very small logs Without this, after few weeks without use, each defined domain grows a tail of empty gzipped logs, instead of keeping just the last log of interest. * daemon/libvirtd.logrotate.in: only rotate when the log is over 100 KBytes --- diff --git a/daemon/libvirtd.logrotate.in b/daemon/libvirtd.logrotate.in index 093651c051..0c51fd3df4 100644 --- a/daemon/libvirtd.logrotate.in +++ b/daemon/libvirtd.logrotate.in @@ -5,4 +5,5 @@ compress delaycompress copytruncate + minsize 100k }