Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Log Mediator + WSO2 ESB

DZone's Guide to

Log Mediator + WSO2 ESB

Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

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

 

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:

Published at DZone with permission of Achala Chathuranga Aponso, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}