aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-05-06 12:59:17 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-05-06 12:59:19 -0400
commit8ec7121a45903eea262e7a3a120db1a937ca3b66 (patch)
tree3c49982413e610fc0d280031fb70abbe6f23f89b /test
parentc5ffe8d5155b21d0099259416436d09fc20d7017 (diff)
parent7b29ec277b2f99a526c2a70f0dec7b28f1e874a4 (diff)
downloadbitcoin-8ec7121a45903eea262e7a3a120db1a937ca3b66.tar.xz
Merge #15927: [tests] log thread names by default in functional tests
7b29ec277b [tests] Comment for why logging config is set as command-line args. (John Newbery) ba534ccd56 [tests] log thread names by default in functional tests (John Newbery) Pull request description: More detailed logs are better ACKs for commit 7b29ec: jamesob: utACK https://github.com/bitcoin/bitcoin/pull/15927/commits/7b29ec277b2f99a526c2a70f0dec7b28f1e874a4 Tree-SHA512: 327cfedb7b7bf32f7ce1e2de5f70c7092041a8e868e14285a79176277c6cf47ebea27027f68787332f8ad21c7f64d2640dd21813eda5b2bd0e5208a65364a879
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_framework/test_node.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index 8b2006a05c..b9d1082ddc 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -80,10 +80,14 @@ 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,
"-logtimemicros",
+ "-logthreadnames",
"-debug",
"-debugexclude=libevent",
"-debugexclude=leveldb",