]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten some debug messages.
authorMike Brady <mikebradydublin@icloud.com>
Sun, 21 Jun 2020 12:16:08 +0000 (13:16 +0100)
committerMike Brady <mikebradydublin@icloud.com>
Sun, 21 Jun 2020 12:16:08 +0000 (13:16 +0100)
dacp.c
mdns_avahi.c

diff --git a/dacp.c b/dacp.c
index 82fc0dbb2607d5f9cc697582df0afe7ca3dca8cd..773ba0659f2cfb5c4951a49fb1e31d752dbd412d 100644 (file)
--- 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.");
   }
 }
 
index 65bd64775bdc885811b2f1c1238c34897b08f165..f3c1f1c9599aa6355a350994576523c86c0dc12e 100644 (file)
@@ -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",