• J
    qemu: logrotate: drop minsize directive · 6c43149c
    Jim Fehlig 提交于
    On a cloud host it is possible to create 100's of unique instances
    per day, each leaving behind a /var/log/libvirt/qemu/instance-name.log
    file that is < 100k. With the current 'minsize 100k' directive, these
    files are never rotated and hence never removed. Over months of time,
    tens of thousands of these files can accumulate on the host.
    
    Dropping 'minsize 100k' allows rotating small files, which will
    increase the number of log files, but 'rotate 4' ensures they will
    be removed after a month.
    Signed-off-by: NJim Fehlig <jfehlig@suse.com>
    Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
    6c43149c
libvirtd.qemu.logrotate.in 153 字节