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

Add async log rotation with max files #416

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Add async log rotation with max files #416

merged 2 commits into from
Dec 2, 2024

Conversation

webfiltered
Copy link
Contributor

  • Fixes bug in log rotation that resulted in only the most recent log being stored
  • Adds maximum log count - default 50
  • All filesystem access is now async

Limitations

  • Currently no limit on file size

Allows unlimited log files by setting maxFiles to 0.
@huchenlei huchenlei merged commit b232bae into main Dec 2, 2024
6 checks passed
@huchenlei huchenlei deleted the log-rotation branch December 2, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants