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

Upgrade Log file size and count handling #277

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

lovesh-ap
Copy link
Contributor

the order of precedence and explanation for configuration variables affecting log rotation.

  • If log_daily is true:
  1. A log_limit_in_kbytes value greater than zero will result in a composite triggering policy, where logs will roll once per day or when the defined size is reached, retaining up to log_file_count files
  2. A log_limit_in_kbytes value of zero will result in logs rolling once per day retaining up to log_file_count files
  • If log_daily is false and log_limit_in_kbytes > 0, a sized based policy will be configured, where logs will roll when the defined size is reached, retaining up to log_file_count files

  • If log_daily is false and log_limit_in_kbytes = 0, no log file rolling logic will be configured

@lovesh-ap lovesh-ap added the Ready Work is compelete label Jun 13, 2024
@lovesh-ap lovesh-ap self-assigned this Jun 13, 2024
@lovesh-ap lovesh-ap merged commit 5ca9e8c into main Aug 8, 2024
12 checks passed
@lovesh-ap lovesh-ap deleted the fix/NR-272900/log-file-size-count branch August 8, 2024 16:36
@lovesh-ap lovesh-ap mentioned this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready Work is compelete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants