[Spice-devel] [PATCH spice] server: use a warning when disconnecting unresponsive client

Marc-André Lureau marcandre.lureau at gmail.com
Thu May 15 04:42:21 PDT 2014


The debug level is not visible by default, since it is an undesirable
server behaviour, make it a warning.
---
 server/red_channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index 2e467af..887daa9 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -818,7 +818,7 @@ static void red_channel_client_connectivity_timer(void *opaque)
                                         rcc->connectivity_monitor.timeout);
     } else {
         monitor->state = CONNECTIVITY_STATE_DISCONNECTED;
-        spice_debug("rcc %p has not been responsive for more than %u ms, disconnecting",
+        spice_warning("rcc %p has not been responsive for more than %u ms, disconnecting",
                     rcc, monitor->timeout);
         red_channel_client_disconnect(rcc);
     }
-- 
1.9.0



More information about the Spice-devel mailing list