Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
libvirt.6841
6c43149c-qemu-logrotate-drop-minsize.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6c43149c-qemu-logrotate-drop-minsize.patch of Package libvirt.6841
commit 6c43149c41dfd59465ffc82d8613b3b31a0971fc Author: Jim Fehlig <jfehlig@suse.com> Date: Wed Oct 25 15:09:20 2017 -0600 qemu: logrotate: drop minsize directive 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: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Index: libvirt-2.0.0/daemon/libvirtd.qemu.logrotate.in =================================================================== --- libvirt-2.0.0.orig/daemon/libvirtd.qemu.logrotate.in +++ libvirt-2.0.0/daemon/libvirtd.qemu.logrotate.in @@ -5,5 +5,4 @@ compress delaycompress copytruncate - minsize 100k }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor