Log

The Log task sends information from the mediation flow context to the log. The Log task can be placed on an input, output, or fault path.

General Tab

For more information about the Log task, see Logging Mediation Exchange Information. For information about configuring the log, see Configuring a Log Task.

Use the General tab to specify a name and description for the task. This tab is useful for providing documentation for tasks in your mediation flows.

Field Description
Name Assign a name to the task, to identify the task in the mediation flow. This name appears in the tooltip that opens when you hover the cursor over the task icon in the mediation flow.
Description Describe the task briefly. This description appears in the tooltip that opens when you hover the cursor over the task icon in the mediation flow.
Log Role Select the role for log messages—INFO, WARN, DEBUG, or ERROR. Each is handled separately, and each has its own log.
Use Transform Data

Select this option to display the Log tab as a mapping panel that shows the schema with the elements message, messageID, and role, so that you can build custom log messages. See Information for Custom Log Messages.

If this option is not set, the Log tab displays information from the mediation exchange for you to specify which information to send to the log file. See Information for Standard Log Messages.

The Use Transform Data option is cleared by default.

Log Tab

The appearance of the Log tab depends on whether the option Use Transform Data is selected on the General tab.

  • If Use Transform Data is clear (the default), the Log tab shows top-level message information, from which you choose the information to log. See Information for Standard Log Messages.