Replies: 2 comments
-
I haven't tried, so can't vouch, but check these logback docs on it. |
Beta Was this translation helpful? Give feedback.
-
For completeness sake: The documentation kindly provided by @mattnelson used configurations with
Please note: this should be done only for testing purposes. The |
Beta Was this translation helpful? Give feedback.
-
I'd like to log request and response body.
I tried to implement interface io.dropwizard.request.logging.RequestLogFactory and extend ch.qos.logback.access.jetty.RequestLogImpl (method log(Request jettyRequest, Response jettyResponse)) but input steam and output stream were already read.
How can I log request and response body?
Beta Was this translation helpful? Give feedback.
All reactions