Skip to content

Logback request log: combine headers#8008

Merged
joschi merged 1 commit intodropwizard:release/4.0.xfrom
zUniQueX:logback-request-log-combine-headers-4.0.x
Dec 10, 2023
Merged

Logback request log: combine headers#8008
joschi merged 1 commit intodropwizard:release/4.0.xfrom
zUniQueX:logback-request-log-combine-headers-4.0.x

Conversation

@zUniQueX
Copy link
Copy Markdown
Member

@zUniQueX zUniQueX commented Dec 9, 2023

Refs #7965

This PR ports the DropwizardJettyServerAdapter to the release/4.0.x branch. This allows logging all response headers instead of only the last header value.

@zUniQueX zUniQueX added this to the 4.0.5 milestone Dec 9, 2023
@zUniQueX zUniQueX self-assigned this Dec 9, 2023
@zUniQueX zUniQueX requested a review from a team as a code owner December 9, 2023 17:03
@joschi joschi merged commit 864080b into dropwizard:release/4.0.x Dec 10, 2023
Mahoney added a commit to Mahoney-forks/logback-access that referenced this pull request Jan 16, 2025
Pushes the fixes in dropwizard/dropwizard#8008
upstream into logback-access, where they probably should be.

Unfortunately `HttpGetUtil` uses `HttpURLConnection`, which makes it
hard to write a test for this because `HttpURLConnection` combines the
headers for you.
Mahoney added a commit to Mahoney-forks/logback-access that referenced this pull request Jan 16, 2025
Pushes the fixes in dropwizard/dropwizard#8008
upstream into logback-access, where they probably should be.

Unfortunately `HttpGetUtil` uses `HttpURLConnection`, which makes it
hard to write a test for this because `HttpURLConnection` combines the
headers for you.

Signed-off-by: Robert Elliot <[email protected]>
ceki pushed a commit to qos-ch/logback-access that referenced this pull request Jul 18, 2025
Pushes the fixes in dropwizard/dropwizard#8008
upstream into logback-access, where they probably should be.

Unfortunately `HttpGetUtil` uses `HttpURLConnection`, which makes it
hard to write a test for this because `HttpURLConnection` combines the
headers for you.

Signed-off-by: Robert Elliot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants