summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-20 19:11:02 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-20 19:11:02 +0000
commit12b096677c1fd9d90c496a807ac4555be211fc18 (patch)
treece0229286fcca1ad2bcdb65e2a5f600ad987221d /src
parentcd4b07629a80cd76ed8dc9f94da5dc9773eefdc1 (diff)
downloads6-12b096677c1fd9d90c496a807ac4555be211fc18.tar.xz
More better debug info
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r--src/supervision/s6-svscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervision/s6-svscan.c b/src/supervision/s6-svscan.c
index 8f1665e..e687e29 100644
--- a/src/supervision/s6-svscan.c
+++ b/src/supervision/s6-svscan.c
@@ -363,7 +363,7 @@ static void reap (void)
if (avltreen_search(by_pid, &pid, &i))
{
service *sv = SERVICE(i) ;
- LOLDEBUG("reap: pid %llu is service %u", (unsigned long long)pid, i) ;
+ LOLDEBUG("reap: pid %llu is service %u - %s", (unsigned long long)pid, i, NAME(i)) ;
avltreen_delete(by_pid, &pid) ;
sv->pid = 0 ;
if (bitarray_peek(active, i)) tain_earliest1(&start_deadline, &sv->start) ;
@@ -563,7 +563,7 @@ static int start_iter (void *data, void *aux)
if (!bitarray_peek(active, i)
|| sv->pid
|| tain_future(&sv->start)) return 1 ;
- LOLDEBUG("start: spawning %u", i) ;
+ LOLDEBUG("start: spawning %u - %s", i, NAME(i)) ;
sv->pid = fork() ;
switch (sv->pid)
{