Support deleting old logs by day #1168
Labels
enhancement
type enhancement
feature
type new feature
good first issue
Good for newcomers
help wanted
Good for newcomers
Search before asking
Motivation
Currently, Kvrocks didn't have a way to auto-delete old logs which may occupy the disk capacity, so it'd be better to offer a way to keep recent logs only.
related discussion: #1167
Solution
We can do it by simply adding a configuration to enable or disable it since the glog has already supported removing old logs.
https://github.com/google/glog/blob/c18db3903b9f0abd80ae740fde94f7e32aa40b92/README.rst#automatically-remove-old-logs
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: