Log Mediator + WSO2 ESB
<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
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)