Aditya,

On 3/9/23 09:29, Aditya Kumar wrote:
I edited my log4j2.xml to include these lines:

<Logger name="org.apache.http.wire" level="DEBUG">
     <AppenderRef ref="serverlog"/>
</Logger>

Now in my defined serverlog I see the http wire traffic I am after. However
there is one problem. For POST requests from my Tomcat server I can only
see request/response HTTP headers. I cannot see the POST data payload.

Is there a way to get this logged too?

Tomcat doesn't have anything to do with this kind of connection or logging. I think you want to post your question to either the http-client or log4j mailing lists.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to