Per comment from Jim McQuillan <jam@mcquil.com>, don't log

syslogd startup/shutdown messages as KERN.EMERG, but use
SYSLOG.INFO instead.
This commit is contained in:
Eric Andersen 2001-05-07 17:55:05 +00:00
parent da7f095c12
commit 238bc4090d
2 changed files with 4 additions and 4 deletions

View File

@ -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 (;;) {

View File

@ -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 (;;) {