• Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Gateway
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      at the moment there is no possibility to log the payload of request and response using the logging policy https://access.redhat.com/documentation/en-us/red_hat_3scale_api_management/2.9/html/administering_the_api_gateway/apicast_policies#logging_policy

      it is clear that logging it will have a performance impact because nginx will need to open the payload (https://stackoverflow.com/a/17765232/9326792) but could we add an optional setting in apicast to change this default behavior to enable logging payloads?

            [THREESCALE-7493] adding body to logging

            created my own policy for this https://github.com/3scale-demos/apicast-log-body

            Luca Mattia Ferrari added a comment - created my own policy for this  https://github.com/3scale-demos/apicast-log-body

            Why we're not doing things with the body is explained here:
            http://mailman-int.corp.redhat.com/archives/sme-apis/2021-July/msg00036.html

            Eloy Coto (Inactive) added a comment - Why we're not doing things with the body is explained here: http://mailman-int.corp.redhat.com/archives/sme-apis/2021-July/msg00036.html

              Unassigned Unassigned
              lucamaf Luca Mattia Ferrari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: