I am using kong as an API gateway.
I am struggling to debug the requests that kong is making to upstreams.
I have tried using the syslog
plugin, but that only logs the request kong receives and the response it sends back to the client.
I am looking to debug the request kong sends to the upstream and the response it receives.
If you have enabled a logging plugin, ensure you check in that location.
In my case with syslog
enabled I viewed /var/log/syslog
and found:
Apr 30 12:49:34 db kong[7467]: {"latencies":{"request":3100,"kong":1148,"proxy":1952},
"service": ...
It stores alot of information about the request and response but no body info.