~martijnbraam/logbookd#2: 
Enable support for log rotation

The database saved to disk shouldn't be allowed to grow indefinitely, so there should be some automatic log rotation to prevent this from happening. Traditionally for text file-based logging, logrotate is used to do this.

Having a way to specify some conditions for when the rotation happens could be nice, e.g., force rotation of size of logs on disk is greater than 100MB or something. It could be user-configurable, maybe through an ENV var?

Status
REPORTED
Submitter
~craftyguy
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
No labels applied.