[Apiman-user] HTTP request/response logging from the Apiman gateway to back-end services

Eric Wittmann eric.wittmann at redhat.com
Tue Jan 12 10:55:46 EST 2016


Excellent, thanks!

On 1/12/2016 10:31 AM, Ton Swieb wrote:
> Hi Eric,
>
> Good to know. I logged: https://issues.jboss.org/browse/APIMAN-897
>
> Regards, Ton
>
> 2016-01-12 14:58 GMT+01:00 Eric Wittmann <eric.wittmann at redhat.com
> <mailto:eric.wittmann at redhat.com>>:
>
>     We don't currently have a feature to log the back-end
>     request/response.  I'd love it if you would open a feature request
>     ticket in JIRA for that (seems like a nice thing to have).
>
>     In the short term you could implement a custom policy that would
>     Sys.out the ServiceRequest and ServiceResponse objects (note: in
>     1.2.x these are called ApiRequest and ApiResponse).  If you do this,
>     make sure to put that policy *last* in the chain.
>
>     -Eric
>
>     On 1/12/2016 5:07 AM, Ton Swieb wrote:
>
>         Hi,
>
>         I would like to see the HTTP request/response logging between
>         the Apiman
>         gateway and the back-end services.
>
>         Is this possible in Apiman? If so, how can I activate it?
>
>         I already tried enabling the RequestDumpHandler in Undertow, but
>         that
>         only logs the inbound HTTP request/response to the Apiman
>         gateway. So
>         the communication between the API client and the API gateway, but I
>         would like to see the outbound HTTP request/response logging.
>
>         Regards,
>
>         Ton
>
>
>         _______________________________________________
>         Apiman-user mailing list
>         Apiman-user at lists.jboss.org <mailto:Apiman-user at lists.jboss.org>
>         https://lists.jboss.org/mailman/listinfo/apiman-user
>
>


More information about the Apiman-user mailing list