IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows

Logging messages during a mediation flow

You can use the Message Logger mediation primitive to store messages that you can process later. The logged messages can be used for various purposes.

For example, you could use the logged messages for data mining or for auditing.

The Message Logger mediation primitive logs messages to a relational database using an IBM-defined database schema. It does not write to other storage mediums such as flat files. The Message Logger mediation primitive logs an XML transcoded copy of the service message object.

By default, the Message Logger logs the body section of the message. You can configure the Message Logger to log the entire message, or you can use an XPath expression to specify a part of the message to be logged.

By default, messages are logged to the Common database that is created during installation of the server.

You can create your own database and log your messages there. Or, when install your runtime product you can specify which physical database is used as the Common database.

For example, you might define the Common database as being a DB2 database.

For more information on the Message Logger primitive, see the Message Logger mediation primitive topic in the Reference section.

For information on viewing logged messages, see the example topic in the Message Logger mediation primitive Reference.

Building mediation flows


Related information:
Message Logger mediation primitive