Skip to content

Add log file rotation #2468

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

Merged
merged 10 commits into from
Apr 9, 2025
Merged

Add log file rotation #2468

merged 10 commits into from
Apr 9, 2025

Conversation

twitu
Copy link
Collaborator

@twitu twitu commented Mar 24, 2025

Pull Request

Rotate log file by maximum permissible size and maintain maximum backed up log files. Continuing from #2342

Rotated log files have the following naming convention

  • If a base name is given - -
  • If no base name is given -

Timestamp records upto milliseconds to ensure even sub second file rotations happen correctly. "%Y-%m-%d_%H%M%S:%3f"

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested?

Rotation test passing

@cjdsellers cjdsellers merged commit 14481b1 into develop Apr 9, 2025
4 checks passed
@cjdsellers cjdsellers deleted the log-rotate branch April 9, 2025 10:15
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.

3 participants