From: Mike Brady Date: Mon, 28 Aug 2017 11:14:05 +0000 (+0100) Subject: Improve debug messages X-Git-Tag: 3.2d3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef507a0e70cc40070e4b482d60f538b2ad32843d;p=thirdparty%2Fshairport-sync.git Improve debug messages --- diff --git a/player.c b/player.c index e4b31333..4a563834 100644 --- a/player.c +++ b/player.c @@ -2184,7 +2184,7 @@ static void *player_thread_func(void *arg) { if (rc) debug(1, "Error destroying vol_mutex variable."); - debug(1, "Player thread exit"); + debug(1, "Player thread exit on RTSP conversation thread %d.",conn->connection_number); if (outbuf) free(outbuf); if (silence) diff --git a/rtsp.c b/rtsp.c index 12e9d8d1..c0e34811 100644 --- a/rtsp.c +++ b/rtsp.c @@ -1821,7 +1821,7 @@ static void *rtsp_conversation_thread_func(void *pconn) { playing_conn = NULL; pthread_mutex_unlock(&play_lock); } - debug(3, "RTSP conversation thread %d terminated.",conn->connection_number); + debug(1, "RTSP conversation thread %d terminated.",conn->connection_number); // please_shutdown = 0; conn->running = 0; return NULL;