Merge #17330: test: Add shrinkdebugfile=0 to regtest bitcoin.conf
c5377ffbbbdbc74f50bbabd1e6efd57b3cf34899 [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 c5377ffbbbdbc74f50bbabd1e6efd57b3cf34899
dongcarl:
ACK c5377ffbbbdbc74f50bbabd1e6efd57b3cf34899
Tree-SHA512: a05d6a7c494ee2c300fa1a9dbaa48b7fed63a44b1fa823198cbf401cff1c4aa8e44eb431fa635b27a1987d0eb1a5f8e2712514dcea7c5dd05240a445c8bd505d
This commit is contained in:
commit
222b7d0ca7
@ -316,6 +316,7 @@ def initialize_datadir(dirname, n, chain):
|
||||
f.write("listenonion=0\n")
|
||||
f.write("printtoconsole=0\n")
|
||||
f.write("upnp=0\n")
|
||||
f.write("shrinkdebugfile=0\n")
|
||||
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
|
||||
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
|
||||
return datadir
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user