mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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
This commit is contained in:
parent
16c6e2b41e
commit
d550277ca7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user