1. 27 10月, 2017 1 次提交
    • 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
  2. 10 3月, 2010 1 次提交
    • D
      Change logrotate to be per-hypervisor logs · 89bf843a
      Daniel Veillard 提交于
      Having a single logrotate configuration file for all hypervisors
      did not work as logrotate would get confused if an hypervisor not
      supported on that platform was still listed. Simplest is to split
      the logrotate as separate per hypervisor files and change the
      spec file to only install the ones compiled in.
      * daemon/libvirtd.lxc.logrotate.in daemon/libvirtd.qemu.logrotate.in
        daemon/libvirtd.uml.logrotate.in: copy and split the original
        daemon/libvirtd.logrotate.in file
      * daemon/Makefile.am: update to support the different files and
        cleanup in sed suggested by Eric Blake
      * libvirt.spec.in: only install the relevant logrotate configs
      * daemon/.gitignore: update logrotate generated list
      89bf843a
  3. 21 10月, 2009 1 次提交
    • D
      Do not log rotate very small logs · b03fe2d0
      Dan Kenigsberg 提交于
      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
      b03fe2d0
  4. 05 10月, 2009 1 次提交
  5. 21 9月, 2009 1 次提交
    • D
      Rename qemud/ directory to daemon/ · 5c2a1ae8
      Daniel P. Berrange 提交于
      * qemud/: Rename to daemon/
      * Makefile.am, configure.in, src/Makefile.am, src/remote_internal.c,
        tests/Makefile.am, tests/eventtest.c: s/qemud/daemon/ where needed
      5c2a1ae8
  6. 10 12月, 2008 1 次提交