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
2021-06-22 17:20:17 +02:00
parent 2a71f35005
commit 64e41e066b
+2 -2
View File
@@ -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 */