Handling size of debug.log

+1 vote
Hi,

What would be the best implementation to handle the growing debug.log?

Could use printtoconsole, but really would like a rolling log with maximum size. Any way this is possible from multichain parameters?

Thanks,
asked Nov 29, 2015 by anonymous

1 Answer

0 votes

There is a runtime parameter inherited from Bitcoin Core called -shrinkdebugfile which is on by default, and shrinks the debug log when MultiChain is restarted.

We will look into adding something better in future, whereby you can specify a maximum log size and it is automatically shrunk to remain in that size, without requiring a restart.

answered Nov 29, 2015 by MultiChain
can you update this answer pls
Run multichaind without any parameters and you'll see the new shrinkdebugfilesize parameter.
...