]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Turn up debug level to 3 when too long a silence occurs
authorMike Brady <mikebrady@eircom.net>
Sat, 16 Feb 2019 14:56:34 +0000 (14:56 +0000)
committerMike Brady <mikebrady@eircom.net>
Sat, 16 Feb 2019 14:56:34 +0000 (14:56 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 9aff0e653b02e751408370057b6e80caf42834b0..d3ee35ae705765356d39e2eb21738709ad2eb5b7 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -291,6 +291,7 @@ void *player_watchdog_thread_code(void *arg) {
         if (time_since_last_bark >= ct) {
           conn->watchdog_barks++;
           if (conn->watchdog_barks == 1) {
+            debuglev = 3; // tell us everything.
             debug(1,
                   "Connection %d: As Yeats almost said, \"Too long a silence / can make a stone "
                   "of the heart\".",