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?