Log Mediator + WSO2 ESB
This is used to log onto the server log file.
Logging to other log files is explained here
Published at DZone with permission of Achala Chathuranga Aponso, author and DZone MVB. (source)<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.)





