Logging Mediation Exchange Information

Log tasks allow mediation flows to send data to a file (appender). By default, the appender for the mediation task is not configured.

You can place a log task on any input, output, or fault path. You can configure the log task to send any or all of these items to the log file.

  • Mediation flow properties are the properties defined for the mediation flow. These properties are defined either on the Properties tab of the mediation flow, or in the composite or component containing the mediation flow. You can select all mediation flow properties, or you can select individual properties to log.
  • Mediation flow context logs message context such as component name and mediation flow information, if the Mediation Flow Context option is set on the Advanced section of the mediation operation’s General tab.
  • Message data is the content of the message. Some tasks, such as custom tasks or Transform tasks, can change the content of the message. The Log task can be used to output the message content at any point in the mediation flow. You can use this information for debugging, auditing, or other purposes.
  • Contributed data Mediation tasks, such as the Transform task or custom tasks, can add or contribute data to the mediation exchange. For example, the Log task can be used to output any data that previously executed mediation tasks contributed to the mediation exchange.
  • Exchange Variable If the mediation operation has an exchange variable set, the exchange variable appears as one of the items to log. If Log All Items is selected, the Exchange Variable is automatically logged if it is used.