From 9ae649fa9a0b6038882e4fa8adb94d75c5452df5 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Thu, 28 May 2020 15:39:10 +0100 Subject: [PATCH] change some debugging messages --- metadata_hub.c | 1 + mqtt.c | 4 ++-- player.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/metadata_hub.c b/metadata_hub.c index 5994a46c..59130823 100644 --- a/metadata_hub.c +++ b/metadata_hub.c @@ -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 f1726f21..e2b86c5d 100644 --- 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); diff --git a/player.c b/player.c index a750415a..8847b8b5 100644 --- 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);