1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

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
This commit is contained in:
Dan Kenigsberg 2009-10-21 13:56:04 +02:00 committed by Daniel Veillard
parent 09c64d0072
commit b03fe2d0ae

View File

@ -5,4 +5,5 @@
compress
delaycompress
copytruncate
minsize 100k
}