From 912ef266a46f48be11dbfa72ebd12097fa92c784 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 6 Dec 2018 23:28:14 -0600 Subject: libraries/libvirt: Unhardcoded verbose logging in rc.libvirt The "-v" switch where it was overrides anything set in the environment or config files and as the default logging level is INFO, log files grow rapidly. Thanks to mickski56. Signed-off-by: Robby Workman --- libraries/libvirt/libvirt.SlackBuild | 2 +- libraries/libvirt/rc.libvirt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries') diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild index c1941baaed..84008caff4 100644 --- a/libraries/libvirt/libvirt.SlackBuild +++ b/libraries/libvirt/libvirt.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=libvirt VERSION=${VERSION:-4.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt index 1ca60b5492..fb058a7189 100644 --- a/libraries/libvirt/rc.libvirt +++ b/libraries/libvirt/rc.libvirt @@ -14,11 +14,11 @@ MODULES="tun vhost_net" TIMEOUT=${TIMEOUT:-300} LIBVIRTD_PIDFILE="/var/run/libvirt/libvirtd.pid" -LIBVIRTD_OPTS=${LIBVIRT_OPTS:-" -v -f /etc/libvirt/libvirtd.conf -p $LIBVIRTD_PIDFILE "} +LIBVIRTD_OPTS=${LIBVIRT_OPTS:-" -f /etc/libvirt/libvirtd.conf -p $LIBVIRTD_PIDFILE "} VIRTLOGD_PIDFILE="/var/run/libvirt/virtlogd.pid" -VIRTLOGD_OPTS=${VIRTLOGD_OPTS:-" -v -f /etc/libvirt/virtlogd.conf -p $VIRTLOGD_PIDFILE "} +VIRTLOGD_OPTS=${VIRTLOGD_OPTS:-" -f /etc/libvirt/virtlogd.conf -p $VIRTLOGD_PIDFILE "} VIRTLOCKD_PIDFILE="/var/run/libvirt/virtlockd.pid" -VIRTLOCKD_OPTS=${VIRTLOCKD_OPTS:-" -v -f /etc/libvirt/virtlockd.conf -p $VIRTLOCKD_PIDFILE "} +VIRTLOCKD_OPTS=${VIRTLOCKD_OPTS:-" -f /etc/libvirt/virtlockd.conf -p $VIRTLOCKD_PIDFILE "} guests_reboot() { -- cgit v1.2.3