mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
b03fe2d0ae
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
10 lines
250 B
Plaintext
10 lines
250 B
Plaintext
@localstatedir@/log/libvirt/qemu/*.log @localstatedir@/log/libvirt/uml/*.log @localstatedir@/log/libvirt/lxc/*.log {
|
|
weekly
|
|
missingok
|
|
rotate 4
|
|
compress
|
|
delaycompress
|
|
copytruncate
|
|
minsize 100k
|
|
}
|