diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-05-15 13:39:13 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-05-16 19:20:51 +0200 |
commit | 8904dfc7680e548210e1c1bbafb0c30769efeb3a (patch) | |
tree | 86da9530881ba546d1d5a7e5cccfd1c710545bfc | |
parent | 719764f7ad7b85a5dc0f9fb39492ff7e849dc87d (diff) |
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.
-rw-r--r-- | server/red_channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 4f85365..5904381 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); } } |