blocknetdx / blocknet

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

XBridge log files pruning #564

Open shrnkld opened 3 years ago

shrnkld commented 3 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 3 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