mirror of
https://github.com/troglobit/finit.git
synced 2026-10-07 16:14:21 +07:00
Change default loglevel to LOG_INFO from LOG_NOTICE
We've had several logit() messages of LOG_INFO level that never really made it to syslog because we classified it as "debug". Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
#include "util.h"
|
||||
|
||||
static int up = 0;
|
||||
static int loglevel = LOG_NOTICE;
|
||||
static int loglevel = LOG_INFO;
|
||||
|
||||
void log_init(int dbg)
|
||||
{
|
||||
if (debug)
|
||||
loglevel = LOG_DEBUG;
|
||||
else
|
||||
loglevel = LOG_NOTICE;
|
||||
loglevel = LOG_INFO;
|
||||
}
|
||||
|
||||
/* If we enabled terse mode at boot, restore to previous setting at shutdown */
|
||||
|
||||
Reference in New Issue
Block a user