Skip to content

Support log KeepMany #1152

@Sytten

Description

@Sytten

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)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions