logrotate
logrotate copied to clipboard
Create a new logrotate.Option "MaximumFiles"
There is currently no setting for deleting files. If there are too many files, is it better to set a parameter “MaximumFiles” to delete them?
Good idea @xinzhli, I'm happy to accept contributions if you'd like to contribute.
Otherwise, I can look into adding it.