Wednesday, August 8, 2012

log mediator + WSO2 ESB

This is used to Log a message.

<log level="full" /> This is used to log to the server log file.

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

No comments:

Post a Comment

Using Zotero for academic writing