[libvirt] [PATCH 3/6] Add logrotate support for libvirtd.log

Daniel P. Berrange berrange at redhat.com
Thu Mar 3 11:44:18 UTC 2011


On Thu, Mar 03, 2011 at 06:22:14PM +0800, Daniel Veillard wrote:
> 
> As the file may grow quite a bit especially with debug turned on.
> * daemon/libvirtd.logrotate.in daemon/Makefile.am libvirt.spec.in:
>   add new logrotate file for the daemon log
> 
> Signed-off-by: Daniel Veillard <veillard at redhat.com>
> ---
>  daemon/Makefile.am           |   10 +++++++++-
>  daemon/libvirtd.logrotate.in |    9 +++++++++
>  libvirt.spec.in              |    1 +
>  3 files changed, 19 insertions(+), 1 deletions(-)
>  create mode 100644 daemon/libvirtd.logrotate.in

ACK, assuming we simply change the default libvirtd logging
config to use libvirtd.log.  This isn't logrotation is not
sufficient for the scenario where libvirtd.log is being
filled at debug priority

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list