blocknetdx / blocknet

Official Blocknet cryptocurrency wallet
https://www.blocknet.org
MIT License
214 stars 95 forks source link

XBridge log files pruning #564

Open shrnkld opened 2 years ago

shrnkld commented 2 years ago

Currently xbridge logs go on for ever until disk is full. xbridge generates huge amounts of logs, maybe keep 7 days worth of logs

To do:

walkjivefly commented 2 years ago

If the logs were simply called xbridge.log and xrouter.log then they would be amenable to manipulation by logrotate. Simples! Operators could choose their own criteria for size/frequency/number to retain.

Alternatively (or as well) we could have a maxlogsize parameter and prune the logs on