Mediation Appenders and Loggers

By default, the runtime informational (INFO), warning (WARN) and error (ERROR) messages logged by the mediation component or the mediation log tasks are sent to the log file of the ActiveMatrix node or the associated appender.

Using the TIBCO ActiveMatrix Administrator to specify a unique appender for the mediation component or the mediation log tasks is also possible. The Administrator allows the user to configure logger and corresponding appenders at application or component level. Refer to Administration Guide for more details on application or component logger configuration.

Two mediation loggers are available:

  • com.tibco.amx.it.mediation

    The logger named com.tibco.amx.it.mediation is used by the mediation component to log runtime error, warning, informational or debug messages and must be applied to the node were the mediation application is running.

  • com.tibco.amx.it.mediation.logTask

    The logger named com.tibco.amx.it.mediation.logTask is used by the mediation log tasks and must be applied to the mediation application. This logger is available only if it has been configured at design time.

To send the data logged by the mediation log tasks to a specific appender, either one of the two logger names can be used in the Administrator to configure the application or component level loggers. However, to isolate the data logged by the mediation log tasks from rest of the mediation component messages, the logger named com.tibco.amx.it.mediation.logTask must be used.

Note: By default only the informational (INFO), warning (WARN) and error (ERROR) messages are written to the log file of the node or the associated appender. The Mediation component or mediation log task's debug (DEBUG) or trace (TRACE) messages are not written to the log file of the node. To view debug or trace level messages, a logging appender must be configured at a debug level.