From d550277ca780083e33824c3762fa0d420c920ca5 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 28 Jun 2011 17:39:02 +0100 Subject: [PATCH] Lower logging level when failing to register socket watch The RPC client treats failure to register a socket watch as non-fatal, since we do not mandate that a libvirt client application provide an event loop implementation. It is thus inappropriate to a log a message at VIR_LOG_WARN * src/rpc/virnetsocket.c: Lower logging level --- src/rpc/virnetsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c index 68d7de7d60..96d2dfd766 100644 --- a/src/rpc/virnetsocket.c +++ b/src/rpc/virnetsocket.c @@ -1066,7 +1066,7 @@ int virNetSocketAddIOCallback(virNetSocketPtr sock, virNetSocketEventHandle, sock, NULL)) < 0) { - VIR_WARN("Failed to register watch on socket %p", sock); + VIR_DEBUG("Failed to register watch on socket %p", sock); return -1; } sock->func = func;