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

[Feature] Log auto-archive policy #143

Closed
barthofu opened this issue Feb 6, 2024 · 0 comments
Closed

[Feature] Log auto-archive policy #143

barthofu opened this issue Feb 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@barthofu
Copy link
Owner

barthofu commented Feb 6, 2024

Feature

We should define a policy for auto-archiving logs.

Format

We'll go with the gzip format as it is the easiest to use with node.js both on Windows and Linux with the built-in library zlib.

Frequency / treshold

We have two options for this :

  1. Each x time (e.g: one archive per day)
  2. At x size (e.g: 1MB limit per file)

For the sake of the retention policy and human accessibility/readibility, we've decided to go for an archive per day (not configurable as for now).

Retention policy

Finaly, a retention policy could be configured with a day count as input (e.g: keep only the logs of the 30 last days).

@barthofu barthofu added the enhancement New feature or request label Feb 6, 2024
@barthofu barthofu self-assigned this Feb 6, 2024
@barthofu barthofu added this to the v2.3 milestone Feb 6, 2024
@barthofu barthofu changed the title [Feature] Log archive system [Feature] Log auto-archive policy Feb 6, 2024
@barthofu barthofu closed this as completed Feb 7, 2024
@barthofu barthofu mentioned this issue Feb 12, 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
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant