This documentation is for WSO2 Enterprise Service Bus version 5.0.0. For the latest ESB, view the latest WSO2 Enterprise Integrator documentation.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The passthrough HTTP transport is the main transport, which handles HTTP/HTTPS messages in WSO2 ESB. Un-comment the following entry in the <ESB_HOME/repository/conf/log4j.properties file to enable wire logs for the passthrough HTTP transport: log4j.logger.org.apache.synapse.transport.http.wire=DEBUG

Info
  • The above entry is available only in WSO2 ESB 4.7.0 or later versions.

    - If you are using WSO2 ESB 4.5.1 or below:
Un Un
  • un-comment the following entry in the <ESB_HOME/repository/conf/log4j.properties file:
  • Callout mediator uses the Axis2 CommonsHTTPSender to invoke services. It does not leverage the non-blocking NHTTP/passthrough transports. Therefore, you need to add the following entries to the <ESB_HOME/repository/conf/log4j.properties file to enable wire logs for the callout mediator.

    Code Block
    languagetext
    log4j.logger.httpclient.wire.header=DEBUG
    log4j.logger.httpclient.wire.content=DEBUG

Following is a sample wirelog.

...