]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virtlogd: make max file size & number of backups configurable
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 1 Jul 2016 16:40:55 +0000 (17:40 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Jul 2016 14:08:54 +0000 (15:08 +0100)
commit24aacfa8e84af95cae78e23ee51a7b23e8a0d03a
tree7f97a1575437d28be5d60f200bef8976776ac882
parente114b09157b7fcca12b218b531debfbc0c3a09d7
virtlogd: make max file size & number of backups configurable

Currently virtlogd has a hardcoded max file size of 128kb
and max of 3 backups. This adds two new config parameters
to /etc/libvirt/virtlogd.conf to let these be customized.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/logging/log_daemon.c
src/logging/log_daemon_config.c
src/logging/log_daemon_config.h
src/logging/log_handler.c
src/logging/log_handler.h
src/logging/test_virtlogd.aug.in
src/logging/virtlogd.aug
src/logging/virtlogd.conf