croncat-rs icon indicating copy to clipboard operation
croncat-rs copied to clipboard

File system logs rotate daily but never delete themselves

Open SeedyROM opened this issue 2 years ago • 1 comments

Problem:

Right now the logging setup to ~/.croncat/logs will make a new file daily but never cleans up after itself.

Solution:

Truncate logs after n days, maybe make this configurable? (Default to 7 days?).

Right now file-append from tracing has no idea to remove old logs? Maybe create a log clean up task? Need to think this through.

Tasks:

TBD

SeedyROM avatar Dec 02 '22 19:12 SeedyROM