aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-05-03 12:47:27 -0400
committerJohn Newbery <john@johnnewbery.com>2019-05-03 12:47:27 -0400
commit7b29ec277b2f99a526c2a70f0dec7b28f1e874a4 (patch)
tree9391e27bda628b32af87285591ba9c1ae16537f0 /test/functional
parentba534ccd5664670707f711451ad15f64c5244ba5 (diff)
[tests] Comment for why logging config is set as command-line args.
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/test_framework/test_node.py3
1 files changed, 3 insertions, 0 deletions
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,