Commit Diff


commit - 92eb0426395d2a0946c1a2a84bae52e90bfee5e6
commit + b1a47061e82f3fce6ef1a3c83b7d8902f7e3a0db
blob - b8cf3ed84c2bcdb68a3853783af0e070f30dd66a
blob + 180adda224025de845b52f7ce1692d2a8b85be51
--- gotd/auth.c
+++ gotd/auth.c
@@ -330,6 +330,6 @@ auth_main(const char *title, struct gotd_repolist *rep
 static void
 auth_shutdown(void)
 {
-	log_debug("shutting down");
+	log_debug("%s: shutting down", gotd_auth.title);
 	exit(0);
 }
blob - 8bee03f37fbfa1fe37b0d0b4738265b00e7dd7ef
blob + 376d807107d3ecb1a6f59bf7c8aaf4d8d0eba847
--- gotd/listen.c
+++ gotd/listen.c
@@ -498,7 +498,7 @@ listen_main(const char *title, int gotd_socket,
 static void
 listen_shutdown(void)
 {
-	log_debug("shutting down");
+	log_debug("%s: shutting down", gotd_listen.title);
 
 	free(gotd_listen.connection_limits);
 	if (gotd_listen.fd != -1)
blob - 336417845c5542b2de71a0960f8fde794c33b137
blob + aa01f602f642ae20153e1e4778856691001dcabe
--- gotd/notify.c
+++ gotd/notify.c
@@ -515,6 +515,6 @@ notify_main(const char *title, struct gotd_repolist *r
 void
 gotd_notify_shutdown(void)
 {
-	log_debug("shutting down");
+	log_debug("%s: shutting down", gotd_notify.title);
 	exit(0);
 }
blob - a2025149109eb642360878c57d63fd56b65955e7
blob + 40a6ec66b5c03902bdeea209716d3ca59c03a19f
--- gotd/repo_read.c
+++ gotd/repo_read.c
@@ -917,7 +917,7 @@ repo_read_shutdown(void)
 {
 	struct repo_read_client *client = &repo_read_client;
 
-	log_debug("shutting down");
+	log_debug("%s: shutting down", repo_read.title);
 
 	if (client->have_ids)
 		got_object_idset_free(client->have_ids);
blob - c3f391185d58b6019a467fff4a2b6c4d4cbe5523
blob + 5ce3807e04e28d69efa93657004967ec6eb740a9
--- gotd/repo_write.c
+++ gotd/repo_write.c
@@ -2491,7 +2491,7 @@ repo_write_shutdown(void)
 	struct repo_write_client *client = &repo_write_client;
 	struct gotd_ref_update *ref_update;
 
-	log_debug("shutting down");
+	log_debug("%s: shutting down", repo_write.title);
 
 	while (!STAILQ_EMPTY(&client->ref_updates)) {
 		ref_update = STAILQ_FIRST(&client->ref_updates);
blob - e241b030efa315c61800ea1614da9cb6e48e47e3
blob + f009715ddfce49aeb0846413c598b3ee30297df7
--- gotd/session_read.c
+++ gotd/session_read.c
@@ -902,7 +902,7 @@ done:
 static void
 session_read_shutdown(void)
 {
-	log_debug("shutting down");
+	log_debug("%s: shutting down", gotd_session.title);
 
 	if (gotd_session.repo)
 		got_repo_close(gotd_session.repo);
blob - 43bc9313213faaee141feb330291afa72d9456c2
blob + a1e0275952fb6d11e96aa854e69d4b5b0126fc1d
--- gotd/session_write.c
+++ gotd/session_write.c
@@ -1719,7 +1719,7 @@ session_write_shutdown(void)
 {
 	struct gotd_session_notif *notif;
 
-	log_debug("shutting down");
+	log_debug("%s: shutting down", gotd_session.title);
 
 	while (!STAILQ_EMPTY(&notifications)) {
 		notif = STAILQ_FIRST(&notifications);