mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Log service identifier, not process name, in debug message
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
cc96e8908a
commit
6cc587068b
1 file changed
+1
-1
+1
-1
@@ -1003,7 +1003,7 @@ int service_stop(svc_t *svc)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg("Sending %s to pid:%d name:%s", sig, svc->pid, nm);
|
dbg("Sending %s to pid:%d name:%s(%s)", sig, svc->pid, id, nm);
|
||||||
logit(LOG_CONSOLE | LOG_NOTICE, "Stopping %s[%d], sending %s ...", id, svc->pid, sig);
|
logit(LOG_CONSOLE | LOG_NOTICE, "Stopping %s[%d], sending %s ...", id, svc->pid, sig);
|
||||||
} else {
|
} else {
|
||||||
logit(LOG_CONSOLE | LOG_NOTICE, "Calling '%s stop' ...", cmdline);
|
logit(LOG_CONSOLE | LOG_NOTICE, "Calling '%s stop' ...", cmdline);
|
||||||
|
|||||||
Reference in new issue
Block a user