Upload
ankush-sharma
View
134
Download
0
Embed Size (px)
Citation preview
MULELogger
INDEX
What is a logger?How to configure oneDo various settingsResult
What is a logger?Logger is used to log messages such as error messages, status notifications, or exceptions. You can add a logger anywhere in a flow, and you can configure it to log anything: any string, any Mule expression, or any combination of strings and Mule expressions.
How to configure one
Drag and drop logger from Mule palette. It will look like following -
Do various settings
Following is the configuration wizard for logger.
For Display name - enter the name what you want to be displayed on the GUI editor.
Message – Will contain all actual message to be logged, it can be an MEL expression or some simple message, like in my case it is “I am a logger”
Result When there will be a call to this flow from browser, the Mule HTTP Listener will
intercept it and the message will be logged on the console.