Setting Up Log Levels
In the logback.xml file, 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
- From the
TIBCO_HOME\bw\<version_number>\config\design\logbackdirectory, open thelogback.xmlfile. - 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.amazonredshift.runtime"> <level value="DEBUG"/> </logger>
The value of the level element can be
Error, Info, Debug, or Trace.Note: If you set the log level toDebug, the input and output of the plug-in activities are also displayed in the Console view. For more details about each log level, see Log Levels. - Optional: Add different nodes in the BusinessWorks Palette and Activity loggers area to specify different log levels of the activities and shared resources.
- If you want to set the log level for the Amazon Redshift Connection add the following node:
<logger name="com.tibco.bw.sharedresource.amazonredshift.runtime">
<level value="DEBUG"/>
</logger> - If you want to set the log level for the Amazon Redshift Bulk Load activity to Debug, add the following node:
<logger name="com.tibco.bw.palette.amazonredshift.runtime.bulkload.RedshiftBulkLoadActivity">
<level value="DEBUG"/>
</logger> If you want to set the log level for the Amazon Redshift Data Change Poller activity to Debug, add the following node:
<logger name="com.tibco.bw.palette.amazonredshift.runtime.datachangepoller.DataChangePollerEventSource">
<level value="DEBUG"/>
</logger>- Note: The activities that are not configured with specific log levels, use the log level configured for the plug-in.
- If you want to set the log level for the Amazon Redshift Connection add the following node:
- Save the file.