Setting up Log Levels

You can configure different log levels for the plug-in and plug-in activities to trace different messages.

By default, the plug-in uses the log level configured for TIBCO ActiveMatrix BusinessWorks™. The default log level of ActiveMatrix BusinessWorks™ is Error.

Procedure

  1. Navigate to the TIBCO_HOME\bw\version_number\config\design\logback directory and open the logback.xml file.
  2. Add the following node in the BusinessWorks Palette and Activity logger area to specify a log level for the plug-in:
    <logger name="com.tibco.bw.palette.eftl.runtime">
    <level value="DEBUG"/>
    </logger>
    The value of the level element can be Debug, Info, or Error.
    Note: If you set the log level to Debug, the input and output for the plug-in activities are also displayed in the Console view. For more details regarding each log level, see Log Levels.
  3. Optional. Add one of the following nodes in the BusinessWorks Palette and Activity loggers’ area to control a log level for the activity.
    • For example, to control the debug log level for the eFTL Publisher activity, set the following parameters:
      <logger name="com.tibco.bw.palette.eftl.runtime.MessagePublisherActivity">
      <level value="DEBUG"/>
      </logger>
    • For example, to control the debug log level for the eFTL Subscriber activity, set the following parameters:
      <logger name="com.tibco.bw.palette.eftl.runtime.SubscriberEventSourceEventSource">
      <level value="DEBUG"/>
      </logger>
    • For example, to control the debug log level for the eFTL Connector shared resource, set the following parameters:
      <logger name="com.tibco.bw.sharedresource.eftl.runtime">
      <level value="DEBUG"/>
      </logger>
      Note: The activities that are not configured with specific log levels use the log level configured for the plug-in.
  4. Save the file.