diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-08-25 20:22:28 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2021-01-15 09:57:32 +0000 |
commit | b4511e2e2ed1a6077ae6826a9ee6b7a311293d08 (patch) | |
tree | b6191e31029db4e1e517f93e4af119015d159c2e /test/functional/test_framework/test_node.py | |
parent | 29d2aeb4a2b1830be4724aab3a84a62f072056f4 (diff) | |
download | bitcoin-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-x | test/functional/test_framework/test_node.py | 2 |
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 |