From 8904dfc7680e548210e1c1bbafb0c30769efeb3a Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 15 May 2014 13:39:13 +0200 Subject: server: use a warning when disconnecting unresponsive client The debug level is not visible by default, since it is an unsolicited server behaviour, make it a warning. --- server/red_channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/red_channel.c b/server/red_channel.c index 4f853651..59043813 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -824,8 +824,8 @@ 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", - rcc, monitor->timeout); + spice_warning("rcc %p on channel %d:%d has been unresponsive for more than %u ms, disconnecting", + rcc, rcc->channel->type, rcc->channel->id, monitor->timeout); red_channel_client_disconnect(rcc); } } -- cgit