From 1ee6c9f46b6bacd59e6a7b56030b0e59d1c82c7e Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 15 Sep 2023 09:47:42 +0200 Subject: [PATCH] watchdogd: drop startup message, leaks to console We use LOG_CONS to ensure log messages reach the operator, but since watchdogd starts very early this means non-critical messages like the initial greeting leaks to console because syslogd has not yet started. Signed-off-by: Joachim Wiberg --- src/watchdog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/watchdog.c b/src/watchdog.c index c261e949..2afa9586 100644 --- a/src/watchdog.c +++ b/src/watchdog.c @@ -60,7 +60,6 @@ static int init(char *progname, char *devnode) signal(SIGPWR, sighandler); openlog(&progname[1], LOG_CONS | LOG_PID, LOG_DAEMON); - syslog(LOG_INFO, "Finit v%s watchdog %s starting ...", VERSION, devnode); fd = open(devnode, O_WRONLY); if (fd == -1)