Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit 6.3.1

# 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
1. Navigate to the `<BW_HOME>\bwcloud\<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..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. For more details about each log level, see Log Levels.
3. Optional: Add different nodes in the BusinessWorks Palette and Activity loggers area to specify different log levels for the activities and shared resources.
   - For the <plugin product name> Connection shared resource, add the following node:

         <replace this with the node code>

   - For the activity, add the following node:

         <replace this with the node code>

     Note: The activities that are not configured with specific log levels use the log level configured for the plug-in.
4. Save the file.

## Setting Up Logging in TIBCO Cloud at Run Time

You can change the logging properties at run time. For more information, see the "Setting and Overriding BusinessWorks Engine and Logger Properties" topic in the TIBCO Cloud Integration documentation.

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 Development Kit

Copyright © 2014-2022. TIBCO Software Inc. All Rights Reserved.