merge bitcoin#15927: log thread names by default in functional tests

This commit is contained in:
Kittywhiskers Van Gogh 2021-11-08 20:20:39 +03:00
parent 843e6d4c86
commit f9d5542daa

View File

@ -86,10 +86,14 @@ class TestNode():
# Note that common args are set in the config file (see initialize_datadir) # Note that common args are set in the config file (see initialize_datadir)
self.extra_args = extra_args self.extra_args = extra_args
self.extra_args_from_options = extra_args_from_options self.extra_args_from_options = extra_args_from_options
# 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.args = [
self.binary, self.binary,
"-datadir=" + self.datadir, "-datadir=" + self.datadir,
"-logtimemicros", "-logtimemicros",
"-logthreadnames",
"-debug", "-debug",
"-debugexclude=libevent", "-debugexclude=libevent",
"-debugexclude=leveldb", "-debugexclude=leveldb",