Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in for Snowflake 6.3.0

# Setting Up Log Levels

By default, the log level is `Error`. You can set the log level to change the log level to trace different messages.

Note: If neither the plug-in log nor the ActiveMatrix BusinessWorks log is configured in the logback.xml file, the error logs of the plug-in will be displayed in the Console view by default.

If the plug-in log is not configured but the ActiveMatrix BusinessWorks log is configured in the logback.xml file, the configuration for the ActiveMatrix BusinessWorks log is implemented by the plug-in.

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 Console Appender area to specify the log level for the plug-in.

       <logger name="com.tibco.bw.palette.snowflake.runtime">
          <level value="DEBUG"/>
       </logger>

   The `level` tag defines the log level and the value is one of the values mentioned in Log Levels.

   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. Optional: Add one of the following nodes in the BusinessWorks Palette and Activity.

   Loggers area to specify a log level for the activity.

       <logger name="com.tibco.bw.palette.snowflake.runtime.query">
        <level value="DEBUG"/>
       </logger>
       <logger name="com.tibco.bw.palette.snowflake.runtime.insert">
        <level value="DEBUG"/>
       </logger>
       <logger name="com.tibco.bw.palette.snowflake.runtime.update">
        <level value="DEBUG"/>
       </logger>
       <logger name="com.tibco.bw.palette.snowflake.runtime.delete">
       <level value="DEBUG"/>
       </logger>
       "<logger name="com.tibco.bw.palette.snowflake.runtime.bulkload">
       <level value="DEBUG"/></logger>

   Note: The activities that are not configured with specific log levels also inherit log level configured for the plug-in or ActiveMatrix BusinessWorks.
4. To control the debug log level for the Snowflake JDBC shared resource, set the following parameters:

       <logger name="com.tibco.bw.sharedresource.snowflake.runtime">
           <level value="DEBUG"/>
         </logger>

5. Save the file.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in for Snowflake

Copyright © 2020-2024. Cloud Software Group, Inc. All Rights Reserved.