Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support log KeepMany #1152

Open
Sytten opened this issue Apr 6, 2024 · 1 comment
Open

Support log KeepMany #1152

Sytten opened this issue Apr 6, 2024 · 1 comment
Labels
enhancement New feature or request plugin: log

Comments

@Sytten
Copy link

Sytten commented Apr 6, 2024

Right now you have only KeepAll or KeepOne, neither are really good IMO.
Usually you want a balance where you keep the last X files, either by restarts or (ideally) by day.

So the new enum could look like:

enum LogRotation {
  KeepOne
  KeepAll
  KeepMany(usize)
}
@FabianLars
Copy link
Member

#677

@FabianLars FabianLars added the enhancement New feature or request label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin: log
Projects
None yet
Development

No branches or pull requests

2 participants