[tests] Comment for why logging config is set as command-line args.
This commit is contained in:
parent
ba534ccd56
commit
7b29ec277b
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue