Proxy server logs with actual http object for request and forward url

#1

I am trying to get some log entry for proxy server which clearly shows the http request received and the corresponding http request made by proxy server to the downstream service. Right now the logs I found only shows the mapping used by proxy server, i.e. which route it mapped to and which service it mapped to finally. But it does not give me what was the complete http request. eg. http headers, protocol, etc.

0 Likes

#2

correct, Kong does not log the full requests since it would make the system vulnerable to a DoS attack.

0 Likes

#3

this makes sense for production configuration. But for debugging purpose it could be quite useful on dev/test environment.

0 Likes