Setting up Log Levels

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

If you do not configure any log levels, the plug-in uses the default log level of TIBCO ActiveMatrix BusinessWorks. The default log level 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 loggers area to specify a log level for the plug-in:
    <logger name="com.tibco.bw.palette.siebel.runtime">
       <level value="DEBUG"/>
    </logger>

    The value of the level element can be Error, Info, or Debug.

    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. See the topic Log Levels for more details regarding each log level.
  3. Optional: Add the following node in the BusinessWorks Palette and Activity loggers area to specify a log level for an activity:
    <logger name="com.tibco.bw.palette.siebel.runtime.ActivityNameActivity">
       <level value="DEBUG"/>
    </logger>
    For example, you can set the log level to Debug for all the activities as follows:
    • For the Invoke Business Object activity:
      <logger name="com.tibco.bw.palette.siebel.runtime.InvokeBOActivity">
      <level value="DEBUG"/>
      </logger>
      
    • For the Invoke Integration Object activity:
      <logger name="com.tibco.bw.palette.siebel.runtime.InvokeIOActivity">
      <level value="DEBUG"/>
      </logger>
      
    • For the Invoke Business Service activity:
      <logger name="com.tibco.bw.palette.siebel.runtime.InvokeBSActivity">
      <level value="DEBUG"/>
      </logger>
      
    • For the Invoke Workflow activity:
      <logger name="com.tibco.bw.palette.siebel.runtime.InvokeWFActivity">
      <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.