Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6266

Logging of Incoming Requests and Outgoing Responses in REST Server Applications

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.NEXT
    • 3.15.2.GA
    • team/eng
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---

      For incident investigations, customer 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.

       

      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.

      customer has also started a Discussion on the github https://github.com/quarkusio/quarkus/discussions/48811 

              gandrian Georgios Andrianakis
              rhn-support-nasonawa Nayan Sonawane
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: