Skip to content

Commit 222b7d0

Browse files
author
MarcoFalke
committed
Merge #17330: test: Add shrinkdebugfile=0 to regtest bitcoin.conf
c5377ff [qa] Add shrinkdebugfile=0 to regtest bitcoin.conf (Suhas Daftuar) Pull request description: This helps avoid accidentally truncating the debug.log while manually debugging. ACKs for top commit: MarcoFalke: ACK c5377ff dongcarl: ACK c5377ff Tree-SHA512: a05d6a7c494ee2c300fa1a9dbaa48b7fed63a44b1fa823198cbf401cff1c4aa8e44eb431fa635b27a1987d0eb1a5f8e2712514dcea7c5dd05240a445c8bd505d
2 parents 811c381 + c5377ff commit 222b7d0

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)