From 238bc4090d518d1ee17c454337831b81f5fc83d3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 7 May 2001 17:55:05 +0000 Subject: Per comment from Jim McQuillan , don't log syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead. --- sysklogd/syslogd.c | 4 ++-- syslogd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 379efcf..9c73758 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -372,7 +372,7 @@ static const int IOV_COUNT = 2; static void quit_signal(int sig) { - logMessage(0, "System log daemon exiting."); + logMessage(LOG_SYSLOG | LOG_INFO, "System log daemon exiting."); unlink(lfile); #ifdef BB_FEATURE_IPC_SYSLOG ipcsyslog_cleanup(); @@ -525,7 +525,7 @@ static void doSyslogd (void) } #endif - logMessage (0, "syslogd started: " BB_BANNER); + logMessage (LOG_SYSLOG | LOG_INFO, "syslogd started: " BB_BANNER); for (;;) { diff --git a/syslogd.c b/syslogd.c index 379efcf..9c73758 100644 --- a/syslogd.c +++ b/syslogd.c @@ -372,7 +372,7 @@ static const int IOV_COUNT = 2; static void quit_signal(int sig) { - logMessage(0, "System log daemon exiting."); + logMessage(LOG_SYSLOG | LOG_INFO, "System log daemon exiting."); unlink(lfile); #ifdef BB_FEATURE_IPC_SYSLOG ipcsyslog_cleanup(); @@ -525,7 +525,7 @@ static void doSyslogd (void) } #endif - logMessage (0, "syslogd started: " BB_BANNER); + logMessage (LOG_SYSLOG | LOG_INFO, "syslogd started: " BB_BANNER); for (;;) { -- cgit v1.1