Logging of Incoming Requests and Outgoing Responses in REST Server Applications #48811
Unanswered
lmartella1
asked this question in
Q&A
Replies: 3 comments 15 replies
-
Yeah I agree it would be a nice feature. I remember needing it once. /cc @geoand maybe if we add some pointers in an issue, it could be a |
Beta Was this translation helpful? Give feedback.
7 replies
-
You can also add a log tab in dev-ui with this. Like the HTTP Access log. A REST Tab that just log this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think we'll be able to log bodies in any case, but the headers we can certainly do |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
For incident investigations, we would like to enable detailed logging of all incoming REST server requests and outgoing client REST requests. Specifically, we need to log request and response headers, status codes, and (optionally truncated) bodies.
We noticed that the quarkus-rest-client extension provides this functionality out of the box via the quarkus.rest-client.logging.scope=request-response property.
On the other end, we don't find an equivalent configuration for quarkus-rest (server-side) that allows us to achieve the same level of logging as what is available for the REST client. Has this feature already been implemented or considered as a built-in functionality in the quarkus-rest extension?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions