Setting Up Log Levels

By default, the log level is Error. You can use the plug-in to change the log level to trace different messages.

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 Log Levels for more details regarding each log level.

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.amazons3.runtime">
       <level value="DEBUG"/>
    </logger>

    The level tag defines the log level and the value is Trace, 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. See Log Levels for more details regarding each log level.
  3. Optional: Add the following node in BusinessWorks Palette and Activity loggers area to control the log level for an activity:
    <logger name="com.tibco.bw.palette.amazons3.runtime.GetObjectAsynchronousActivity">
       <level value="DEBUG"/>
    </logger>
    For example, if you want to set the log level of the Amazon S3 Put activity to Debug, set the following parameters:
    <logger name="com.tibco.bw.palette.amazons3.runtime.PutAsynchronousActivity">
       <level value="DEBUG"/>
    </logger>
    For example, if you want to set the log level of the Amazon S3 Shared Resource to Debug, set the following parameters:
    <logger name="com.tibco.bw.sharedresource.amazons3.runtime">
       <level value="TRACE"/>
    </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.