aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-07 17:55:05 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-07 17:55:05 +0000
commit238bc4090d518d1ee17c454337831b81f5fc83d3 (patch)
tree8bb81b51f2ed529841555981f7aaead1a22dbe94 /sysklogd
parentda7f095c1203bf58fdb16e8151856e6f850e5820 (diff)
downloadbusybox-238bc4090d518d1ee17c454337831b81f5fc83d3.tar.gz
Per comment from Jim McQuillan <jam@mcquil.com>, don't log
syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 379efcf51..9c7375852 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 (;;) {