]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
change some debugging messages
authorMike Brady <mikebradydublin@icloud.com>
Thu, 28 May 2020 14:39:10 +0000 (15:39 +0100)
committerMike Brady <mikebradydublin@icloud.com>
Thu, 28 May 2020 14:39:10 +0000 (15:39 +0100)
metadata_hub.c
mqtt.c
player.c

index 5994a46c360fe1ce6456312c2fa40ea9eb8ec60e..59130823541d2beded91df2640e66331a79ca21d 100644 (file)
@@ -301,6 +301,7 @@ void metadata_hub_process_metadata(uint32_t type, uint32_t code, char *data, uin
 
   // all the following items of metadata are contained in one metadata packet
   // they are preceded by an 'ssnc' 'mdst' item and followed by an 'ssnc 'mden' item.
+  debug(1, "metadata_hub_process_metadata type %x, code %x and length %u.", type, code, length);
 
   char *cs;
   int changed = 0;
diff --git a/mqtt.c b/mqtt.c
index f1726f21928c8f9f9acb897ebf66ef4bece050d2..e2b86c5d788924dcea3b05cab6e7e2a71d4a291d 100644 (file)
--- a/mqtt.c
+++ b/mqtt.c
@@ -24,10 +24,10 @@ void _cb_log(__attribute__((unused)) struct mosquitto *mosq, __attribute__((unus
              int level, const char *str) {
   switch (level) {
   case MOSQ_LOG_DEBUG:
-    debug(1, str);
+    debug(3, str);
     break;
   case MOSQ_LOG_INFO:
-    debug(2, str);
+    debug(3, str);
     break;
   case MOSQ_LOG_NOTICE:
     debug(3, str);
index a750415ad40b425f3aceef978130b33c9283b657..8847b8b5c1d3a5376d60e1369cfae74ea7251c1f 100644 (file)
--- a/player.c
+++ b/player.c
@@ -636,7 +636,7 @@ void player_put_packet(seq_t seqno, uint32_t actual_timestamp, uint8_t *data, in
           if (((check_buf->ready) || (x == conn->ab_write)) && (missing_frame_run_count > 0)) {
             // send a resend request
             if (missing_frame_run_count > 1)
-              debug(2, "request resend of %d packets starting at seqno %u.",
+              debug(3, "request resend of %d packets starting at seqno %u.",
                     missing_frame_run_count, start_of_missing_frame_run);
             if (config.disable_resend_requests == 0) {
               debug_mutex_unlock(&conn->ab_mutex, 3);