From: Mike Brady Date: Sun, 21 Jun 2020 12:16:08 +0000 (+0100) Subject: Quieten some debug messages. X-Git-Tag: 3.3.7d12~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e1f74db87f191b5bb6d489c7b822ba2b5b2155b;p=thirdparty%2Fshairport-sync.git Quieten some debug messages. --- diff --git a/dacp.c b/dacp.c index 82fc0dbb..773ba065 100644 --- a/dacp.c +++ b/dacp.c @@ -996,7 +996,7 @@ void dacp_monitor_stop() { debug(3, "DACP Conversation Lock Mutex Destroyed"); pthread_mutex_destroy(&dacp_conversation_lock); pthread_cond_destroy(&dacp_server_information_cv); - debug(1, "DACP Server Information Condition Variable destroyed."); + debug(3, "DACP Server Information Condition Variable destroyed."); } } diff --git a/mdns_avahi.c b/mdns_avahi.c index 65bd6477..f3c1f1c9 100644 --- a/mdns_avahi.c +++ b/mdns_avahi.c @@ -342,17 +342,17 @@ static int avahi_register(char *srvname, int srvport) { static void avahi_unregister(void) { // debug(1, "avahi_unregister."); if (tpoll) { - debug(1, "avahi: stop the threaded poll."); + debug(2, "avahi: stop the threaded poll."); avahi_threaded_poll_stop(tpoll); if (client) { - debug(1, "avahi: free the client."); + debug(2, "avahi: free the client."); avahi_client_free(client); client = NULL; } else { debug(1, "avahi attempting to unregister a NULL client"); } - debug(1, "avahi: free the threaded poll."); + debug(2, "avahi: free the threaded poll."); avahi_threaded_poll_free(tpoll); tpoll = NULL; } else { @@ -360,7 +360,7 @@ static void avahi_unregister(void) { } if (service_name) { - debug(1, "avahi: free the service name."); + debug(2, "avahi: free the service name."); free(service_name); } else debug(1, "avahi attempt to free NULL service name"); @@ -414,7 +414,7 @@ void avahi_dacp_monitor_stop() { } avahi_threaded_poll_unlock(tpoll); free(dbs->dacp_id); - debug(1, "avahi_dacp_monitor_stop Avahi DACP monitor successfully stopped"); + debug(2, "avahi_dacp_monitor_stop Avahi DACP monitor successfully stopped"); } mdns_backend mdns_avahi = {.name = "avahi",