aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_node.py
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-08-25 20:22:28 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2021-01-15 09:57:32 +0000
commitb4511e2e2ed1a6077ae6826a9ee6b7a311293d08 (patch)
treeb6191e31029db4e1e517f93e4af119015d159c2e /test/functional/test_framework/test_node.py
parent29d2aeb4a2b1830be4724aab3a84a62f072056f4 (diff)
downloadbitcoin-b4511e2e2ed1a6077ae6826a9ee6b7a311293d08.tar.xz
log: Prefix log messages with function name if -logsourcelocations is set
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-xtest/functional/test_framework/test_node.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index b61d433652..224953f941 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -114,6 +114,8 @@ class TestNode():
if self.version_is_at_least(190000):
self.args.append("-logthreadnames")
+ if self.version_is_at_least(219900):
+ self.args.append("-logsourcelocations")
self.cli = TestNodeCLI(bitcoin_cli, self.datadir)
self.use_cli = use_cli