Skip to content

Commit 4330289

Browse files
MarcoFalkePastaPastaPasta
MarcoFalke
authored andcommitted
Merge bitcoin#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
1 parent ba1d558 commit 4330289

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

+1
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ def initialize_datadir(dirname, n, chain):
334334
f.write("listenonion=0\n")
335335
f.write("printtoconsole=0\n")
336336
f.write("upnp=0\n")
337+
f.write("shrinkdebugfile=0\n")
337338
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
338339
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
339340
return datadir

0 commit comments

Comments
 (0)