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:
Joachim Wiberg committed 2021-06-22 17:20:17 +02:00
1 parent 2a71f35005
commit 64e41e066b
1 file changed
+2 -2
+2 -2
View File
@@ -32,14 +32,14 @@
#include "util.h" #include "util.h"
static int up = 0; static int up = 0;
static int loglevel = LOG_NOTICE; static int loglevel = LOG_INFO;
void log_init(int dbg) void log_init(int dbg)
{ {
if (debug) if (debug)
loglevel = LOG_DEBUG; loglevel = LOG_DEBUG;
else else
loglevel = LOG_NOTICE; loglevel = LOG_INFO;
} }
/* If we enabled terse mode at boot, restore to previous setting at shutdown */ /* If we enabled terse mode at boot, restore to previous setting at shutdown */