From 7b29ec277b2f99a526c2a70f0dec7b28f1e874a4 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Fri, 3 May 2019 12:47:27 -0400 Subject: [tests] Comment for why logging config is set as command-line args. --- test/functional/test_framework/test_node.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 21ca96d6b3..b9d1082ddc 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -80,6 +80,9 @@ class TestNode(): # For those callers that need more flexibility, they can just set the args property directly. # Note that common args are set in the config file (see initialize_datadir) self.extra_args = extra_args + # Configuration for logging is set as command-line args rather than in the bitcoin.conf file. + # This means that starting a bitcoind using the temp dir to debug a failed test won't + # spam debug.log. self.args = [ self.binary, "-datadir=" + self.datadir, -- cgit v1.2.3