qos-ch / logback

The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Other
2.98k stars 1.28k forks source link

Make logback access logging work with Jetty 12 #760

Closed kiefermat closed 7 months ago

kiefermat commented 8 months ago

This change extends the ServerAdapter class in logback-access to completely encapsulate the request and response objects. The AccessEvent then only uses the ServerAdapter to get the necessary data from the request and response objects. This allows for a separate implementation for jetty 12 where the Request and the Response class do no longer inherit from HttpServletRequest and HttpServletResponse.

Fixes #719