Setting Up Log Levels

You can configure a different log level 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 TIBCO ActiveMatrix BusinessWorks is Error.

Setting Up Logging in TIBCO Business Studio at Run Time

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 loggers area to specify the log level for the plug-in:
    <logger name="com.tibco.bw.palette.dynamicscrm.runtime">
       <level value="DEBUG"/>
    </logger>

    The value of the level element can be Trace, Debug, Info, Warn, 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 information on the logging levels, see the "Logger Properties" topic in the TIBCO CLOUD Integration Documentation.
  3. Optional: Add the following node in the BusinessWorks Palette and Activity loggers area to specify the log level for an activity:
    <logger name="com.tibco.bw.palette.dynamicscrm.runtime.ActivityNameActivity">
       <level value="DEBUG"/>
    </logger>
    For example, add the following node to set the log level of the Create Entity activity to Debug:
    <logger name="com.tibco.bw.palette.dynamicscrm.runtime.CreateEntityActivity">
       <level value="DEBUG"/>
    </logger>
    Add the following node to set the log level of the Entity Event Source activity to Debug:
    <logger name="com.tibco.bw.palette.dynamicscrm.runtime.EntityEventSourceActivity">
       <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.