Over a million developers have joined DZone.

Log Mediator + WSO2 ESB

Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud, brought to you in partnership with IBM.

This is used to log onto the server log file.
 <log level="full" /> 
If you want to log a message. Use the following.

  <log level="custom">
            <property name="test" value="testt ....." />
  </log>
If you want to log a specific property ....
<log level="custom">
        <property name="Request Payload" expression="get-property('REQUEST_PAYLOAD')" />
 </log>
The above will log the request payload.
Logging to other log files is explained here

 

Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud, brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Achala Chathuranga Aponso , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}