From c1bd3961cf0b67bc607a737f7d31c0e3efccbb5e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 8 Jul 2017 00:11:24 +0200 Subject: [PATCH] log_init(): If called with debug disbled set (or restore) LOG_NOTICE Signed-off-by: Joachim Nilsson --- src/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log.c b/src/log.c index 1ff1f181..685608d8 100644 --- a/src/log.c +++ b/src/log.c @@ -42,6 +42,8 @@ void log_init(int dbg) if (debug) loglevel = LOG_DEBUG; + else + loglevel = LOG_NOTICE; } /* If we enabled terse mode at boot, restore to previous setting at shutdown */