-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Change RotationConfig default max file size in FileConfig.java #24060
Change RotationConfig default max file size in FileConfig.java #24060
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks for the quick PR @VanillaSpoon 🥄
Thanks @machi1990 😊 |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 60c50ae
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
⚙️ JVM Tests - JDK 17 #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
|
There are some tests failing. Can you have a look? |
Of course 😊 I'll get back to you @machi1990 |
Thanks, let me know if you'll need some inputs. |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 89559ea
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
⚙️ JVM Tests - JDK 17 #- Failing: core/test-extension/deployment
! Skipped: integration-tests/test-extension 📦 core/test-extension/deployment✖
|
Hmmm, so I worked on fixing the tests and AFAICS, log rotation was disabled until now or at least it was not using a size rotating appender. I think enabling rotation by default makes sense. @jamezp do you see any red flags with this change? |
@gsmet Seems fine to me. The only question I'd have is if you'd prefer to default to a |
Sorry for not getting this one sorted guys. Thanks for the change @gsmet |
+1 on defaulting to using |
Change RotationConfig default max file size in FileConfig.java
In FileConfig.java RotationConfig the default value for Max Size of the log file after which a rotation is executed was set incorrectly
Fixes #24041