Skip to content

Improve configuration error handling of HttpAppender (#3438) #3865

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 2 commits into from
Aug 1, 2025

Conversation

jvz
Copy link
Member

@jvz jvz commented Jul 31, 2025

This PR introduces improvements to HttpAppender and adds a new test class, HttpAppenderBuilderTest, to enhance test coverage.

The changes include:

  • Updating HttpAppender to improve validating behavior.
  • Adding HttpAppenderBuilderTest.java to verify the builder logic for HttpAppender.

Ensuring that missing configurations (e.g., URL, Layout) correctly log errors.


Port of #3438 to 3.x.

This PR introduces improvements to `HttpAppender` and adds a new test class, `HttpAppenderBuilderTest`, to enhance test coverage.

The changes include:
 * Updating `HttpAppender` to improve validating behavior.
 * Adding HttpAppenderBuilderTest.java to verify the builder logic for HttpAppender.

Ensuring that missing configurations (e.g., URL, Layout) correctly log errors.

Co-authored-by: Piotr P. Karwasz <[email protected]>
@jvz jvz added this to the 3.0.0-beta4 milestone Jul 31, 2025
@jvz jvz added the appenders Affects one or more Appender plugins label Jul 31, 2025
@jvz jvz merged commit 8de3a60 into main Aug 1, 2025
11 checks passed
@jvz jvz deleted the fix/3.x/port-3438 branch August 1, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appenders Affects one or more Appender plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants