Update LogAcceptCategory() and unit tests with log severity levels

Co-authored-by: "Jon Atack <jon@atack.com>"
This commit is contained in:
klementtan
2022-08-18 13:37:25 +02:00
committed by Jon Atack
parent c2797cfc60
commit 8fe3457dbb
5 changed files with 41 additions and 17 deletions

View File

@@ -118,6 +118,8 @@ class TestNode():
self.args.append("-logthreadnames")
if self.version_is_at_least(219900):
self.args.append("-logsourcelocations")
if self.version_is_at_least(239000):
self.args.append("-loglevel=debug")
self.cli = TestNodeCLI(bitcoin_cli, self.datadir)
self.use_cli = use_cli