Skip to content

RFR: Change Logback request log implementation#10210

Draft
zUniQueX wants to merge 1 commit intodropwizard:release/5.0.xfrom
zUniQueX:remove-logback-access
Draft

RFR: Change Logback request log implementation#10210
zUniQueX wants to merge 1 commit intodropwizard:release/5.0.xfrom
zUniQueX:remove-logback-access

Conversation

@zUniQueX
Copy link
Copy Markdown
Member

Replace logback's RequestLogImpl with a custom implementation.

Motivation

Logback's request logging was broken for a long time. Now, the IAccessEvent and request log implementations were updated, but use an (incomplete) wrapper implementation without servlet classes. In general, Logback has a slow update cycle.

If a user wants to extend or customize the request log implementation, the non-implemented methods will cause problems. Or if a new Jetty version is released, we'd have to wait until logback updates the request log implementation.

Solution

For now, we can extend the IAccessEvent with a custom implementation and provide the request log ourselves. This doesn't break dependent functions like JSON logging etc. For Dropwizard 6, we can re-evaluate, if we'd want to completely remove the logback-access-* components.

@github-actions github-actions bot added this to the 5.0.0 milestone Jun 20, 2025
@joschi joschi modified the milestones: 5.0.0, 5.0.1 Aug 25, 2025
@joschi joschi modified the milestones: 5.0.1, 5.0.2 Jan 27, 2026
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.

2 participants