WSO2 API Manager: How do I log the fulle (http) SOAP response

wso2

Solution

If you want to see all the messages that are passing through, you can enable the wire level logs. It will log all http messages. Please uncomment following two properties in "log4j.properties" file which can be found at /repository/conf directory

uncomment the following logs to see HTTP headers and messages log4j.logger.org.apache.synapse.transport.http.headers=DEBUG log4j.logger.org.apache.synapse.transport.http.wire=DEBUG

Problem

How do I log the SOAP response messages (complete http response) when I invoke a service on the WSO2 AM?

Original source