tonystone/tracelog

Add archive and/or delete to `FileWriter` rotate strategy.

tonystone opened this issue · 0 comments

Describe the solution you'd like
In order to control and limit space taken on disk for files written with the FileWriter, we should have a way to control the number and disposition of files created. these can take the form of an Archive (compress) and/or delete after a certain number of a file or a certain size of space taken is reached.

Describe alternatives you've considered
None considered accept for doing nothing which is not an option for files that grow to large sizes due to verbose logging or simply time written to a single log file.