From: Peter Krempa Date: Tue, 12 May 2015 11:55:30 +0000 (+0200) Subject: daemon: Suppress logging of VIR_ERR_NO_DOMAIN_METADATA X-Git-Tag: v1.2.16-rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecc997fd43b1b1987dadb45fb0ef987d56638476;p=thirdparty%2Flibvirt.git daemon: Suppress logging of VIR_ERR_NO_DOMAIN_METADATA Similarly to other error codes that notify the user that the object does not exist lower the priority of VIR_ERR_NO_DOMAIN_METADATA to VIR_LOG_DEBUG when writing the log entry. --- diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 107b88dc0e..3e7f87c372 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -320,6 +320,7 @@ static int daemonErrorLogFilter(virErrorPtr err, int priority) case VIR_ERR_NO_SECRET: case VIR_ERR_NO_DOMAIN_SNAPSHOT: case VIR_ERR_OPERATION_INVALID: + case VIR_ERR_NO_DOMAIN_METADATA: return VIR_LOG_DEBUG; }