Commit Diff


commit - e70fd95218f6bb77ff45fc0c94b8daeb6709ffa7
commit + e8d451cc39fa03a3fd56b95b86c820491d399550
blob - 7c46d073738bc4c8180ca50eeb70353430e7a9ca
blob + 46bcfeef428d4ba1125f8851a58966b8bf62c96d
--- 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 - 63f3c3f406563f1f34146a9f83783402e5b94c5b
blob + 23dd87f8191b27375b82a3f72a796826d19990e2
--- gotd/listen.c
+++ gotd/listen.c
@@ -486,7 +486,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 - 8b7babf0b8bfda73dde136e6486c27085a6c14f4
blob + 73e9e879443baa9fc58823242e5cf24741402dcc
--- gotd/notify.c
+++ gotd/notify.c
@@ -517,6 +517,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 - f7e53300d55277bab10c4e324bca646100104c8b
blob + 7e04767d68c4c1e7eff6a3520785b24aac07efcf
--- gotd/repo_read.c
+++ gotd/repo_read.c
@@ -918,7 +918,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 - 3bd3f24dbb7a637581477fdf36227426f8b6a00b
blob + 88c6d614754b1d468d4a3539a1dc043870ca3ab6
--- gotd/repo_write.c
+++ gotd/repo_write.c
@@ -2493,7 +2493,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 - c09b25ea44848c1e44137ce3c8cb35f931c01fa6
blob + a2ef1cc69a5fc843bdf614504cb3e75f03180015
--- gotd/session_write.c
+++ gotd/session_write.c
@@ -1718,7 +1718,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);