aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Kenigsberg <danken@redhat.com>2009-10-21 13:56:04 +0200
committerDaniel Veillard <veillard@redhat.com>2009-10-21 13:56:04 +0200
commitb03fe2d0aefb57a096a102bf23375f0a167ca189 (patch)
treea4bfd6adcb2a5b3adf0a6f755ee15c68663da68d /daemon/libvirtd.logrotate.in
parent528575 avoid libvirtd crash on LCX domain autostart (diff)
downloadlibvirt-b03fe2d0aefb57a096a102bf23375f0a167ca189.tar.gz
libvirt-b03fe2d0aefb57a096a102bf23375f0a167ca189.tar.bz2
libvirt-b03fe2d0aefb57a096a102bf23375f0a167ca189.zip
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
Diffstat (limited to 'daemon/libvirtd.logrotate.in')
-rw-r--r--daemon/libvirtd.logrotate.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/libvirtd.logrotate.in b/daemon/libvirtd.logrotate.in
index 093651c05..0c51fd3df 100644
--- a/daemon/libvirtd.logrotate.in
+++ b/daemon/libvirtd.logrotate.in
@@ -5,4 +5,5 @@
compress
delaycompress
copytruncate
+ minsize 100k
}