]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remote: add VIR_ERR_NO_NETWORK_METADATA to daemonErrorLogFilter
authorJán Tomko <jtomko@redhat.com>
Wed, 28 Feb 2024 12:32:42 +0000 (13:32 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 11 Mar 2024 15:06:46 +0000 (16:06 +0100)
Similar to other VIR_ERR_NO_* errors, we don't want to spam the daemon
log with these messages.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/remote/remote_daemon.c

index 657c053f6fe3b945bca16f85548ed80913ec2103..9e82132654fb63f4fd8f4b79485f918ed1518056 100644 (file)
@@ -107,6 +107,7 @@ static int daemonErrorLogFilter(virErrorPtr err, int priority)
     case VIR_ERR_NO_SERVER:
     case VIR_ERR_NO_CLIENT:
     case VIR_ERR_NO_HOSTNAME:
+    case VIR_ERR_NO_NETWORK_METADATA:
         return VIR_LOG_DEBUG;
     }