...
The general parameters available to configure the Log mediator are as follows.
Parameter Name | Description |
---|
Log Category | This parameter is used to specify the log category. Possible values are as follows. Following log levels correspond to ESB service level logs. |
Log Level | This parameter is used to specify the log level. The possible values are as follows. - Full: If this is selected, all the standard headers logged at the Simple level as well as the full payload of the message will be logged. This log level causes the message content to be parsed and hence incurs a performance overhead.
- Simple: If this is selected, the standard headers (i.e.
To , From , WSAction , SOAPAction , ReplyTo , and MessageID ) will be logged. - Headers: If this is selected, all the SOAP header blocks are logged.
- Custom: If this is selected, only the properties added to the Log mediator configuration will be logged.
Info |
---|
The properties included in the Log mediator configuration will be logged regardless of the log level selected. |
|
Log Separator | This parameter is used to specify a value to be used in the log to separate attributes. The , comma is default. Note |
---|
Use only the Source View to add a tab (i.e., by defining the separator="	" parameter in the syntax) or a new line (i.e., by defining the separator="
" parameter in the syntax) as the Log Seperator, since the Design View does not support this. |
|
Properties to be logged by the Log mediator can be added by clicking Add Property. The parameters available to configure a property are as follows.
Parameter Name | Description |
---|
Property Name | The name of the property to be logged. |
Property Value | The possible values for this parameter are as follows: |
Value/Expression | This parameter is used to enter a status value as the property value, or to enter an expression to evaluate the property value based on the what you entered for the Property Value parameter. When specifying a JSONPath, use the format json-eval(<JSON_PATH>) , such as json-eval(getQuote.request.symbol) . For more information on using JSON with the ESB, see JSON Support. Tip |
---|
You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression. |
|
Action | This parameter allows the property to be deleted. |
Info |
---|
|
You can configure the mediator using XML. Click switch to source view in the Mediator window.
|
...