change some debugging messages

This commit is contained in:
Mike Brady
2020-05-28 15:39:10 +01:00
parent e681f47c8c
commit 9ae649fa9a
3 changed files with 4 additions and 3 deletions
+1
View 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;
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -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);