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.

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

    The level tag defines the log level and the value can be Error or Debug.

    Note: When the level is set to Debug, the input and output for the plug-in activities are also displayed in the Console view. See Log Levels for more details regarding each log level.
  3. Add the following node in User loggers area to specify the log level for an activity.
    <logger name="com.tibco.bw.palette.netsuite.runtime.ActivityNameActivity">
       <level value="DEBUG"/>
    </logger>
    Note: For the activities that do not configure with specific log levels, they still inherit the log level configured for the plug-in or BusinessWorks.
    For example, if you want to set the log level of the Add Record activity to Debug, you must add the following node:
    <logger name="com.tibco.bw.palette.netsuite.runtime.AddRecordActivity">
       <level value="DEBUG"/>
    </logger>
    Note: For the NetSuite Record Listener activity, the node added in the Console Appender area is different.
    <logger name="com.tibco.bw.palette.netsuite.runtime.RecordListenerEventSource">
       <level value="DEBUG"/>
    </logger>
  4. Save the file.