Skip to content

Commit 7b29ec2

Browse files
committed
[tests] Comment for why logging config is set as command-line args.
1 parent ba534cc commit 7b29ec2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/test_framework/test_node.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def __init__(self, i, datadir, *, rpchost, timewait, bitcoind, bitcoin_cli, cove
8080
# For those callers that need more flexibility, they can just set the args property directly.
8181
# Note that common args are set in the config file (see initialize_datadir)
8282
self.extra_args = extra_args
83+
# Configuration for logging is set as command-line args rather than in the bitcoin.conf file.
84+
# This means that starting a bitcoind using the temp dir to debug a failed test won't
85+
# spam debug.log.
8386
self.args = [
8487
self.binary,
8588
"-datadir=" + self.datadir,

0 commit comments

Comments
 (0)