Skip to content

Commit c5377ff

Browse files
committed
[qa] Add shrinkdebugfile=0 to regtest bitcoin.conf
This helps avoid accidentally truncating the debug.log while manually debugging.
1 parent 1c5e0cc commit c5377ff

File tree

1 file changed

+1
-0
lines changed
  • test/functional/test_framework

1 file changed

+1
-0
lines changed

test/functional/test_framework/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def initialize_datadir(dirname, n, chain):
316316
f.write("listenonion=0\n")
317317
f.write("printtoconsole=0\n")
318318
f.write("upnp=0\n")
319+
f.write("shrinkdebugfile=0\n")
319320
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
320321
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
321322
return datadir

0 commit comments

Comments
 (0)