Platinum Partner
architects,enterprise-integration,integration,tips and tricks,wso2 esb

Log Mediator + WSO2 ESB

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

 

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}