mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
Clean up logging, log to stderr until syslogd has started
This patch removes internal logging macros and adds support for logging to stderr until a syslogd is up and running, i.e. /dev/log appears. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ static void lost_pid(void *arg)
|
||||
if (!svc)
|
||||
return;
|
||||
|
||||
FLOG_INFO("Lost PID %u, svc %s", pid, svc->cmd);
|
||||
logit(LOG_INFO, "Lost PID %u, svc %s", pid, svc->cmd);
|
||||
}
|
||||
|
||||
static plugin_t plugin = {
|
||||
|
||||
Reference in New Issue
Block a user