From eb7bee5f84d41e35cb4296e01bea2aa5ac80a856 Mon Sep 17 00:00:00 2001 From: klementtan Date: Tue, 7 Jun 2022 00:18:58 +0800 Subject: Create -loglevel configuration option - add a -loglevel=| config option to allow users to set a global -loglevel and category-specific log levels. LogPrintLevel messages with a higher severity level than -loglevel will not be printed in the debug log. - for now, this config option is debug-only during the migration to severity-based logging - update unit and functional tests Co-authored-by: "Jon Atack " --- src/test/util/setup_common.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/util') diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 30d26ecf79..872310f1ca 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -108,6 +108,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::ve "-logsourcelocations", "-logtimemicros", "-logthreadnames", + "-loglevel=debug", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", -- cgit v1.2.3