system_configuration/root/etc/logrotate.d/libvirtd.qemu
2023-04-15 01:23:32 -07:00

17 lines
540 B
Plaintext

/var/log/libvirt/qemu/*.log {
# The QEMU driver is configured to use virtlogd by
# default, which will perform log rollover.
# This logrotate config is still installed for cases
# where the user has switched off virtlogd.
#
# If virtlogd is active, ensure that size here is
# larger than 'max_size' in the virtlogd config
# so that logrotate becomes a no-op
size 2097153
missingok
rotate 4
compress
delaycompress
copytruncate
}