]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib: make NOTICE the default log level
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 7 Jul 2021 13:22:01 +0000 (15:22 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:42:32 +0000 (11:42 +0200)
I think notice is a good default - it should be used for scarce messages
that the user should see, while info level provides more low level info.

It could make sense to increase the log level to info if running with
journalctl (but it might be overkill).

lib/log.h

index cbbd585a512eaedee7f3e9825201f9803789d737..6f92d35f1210fab59c1e40f9c4be4282b3dad2e0 100644 (file)
--- a/lib/log.h
+++ b/lib/log.h
@@ -9,7 +9,7 @@
 #include "lib/defines.h"
 
 
-#define LOG_DEFAULT_LEVEL      LOG_WARNING
+#define LOG_DEFAULT_LEVEL      LOG_NOTICE
 
 /* Targets */