Setting Up Log Levels
Error logs returned by the plug-in are displayed in Console by default. You can change the log level to trace different messages.
Note: If neither the plug-in log nor the BusinessWorks log is configured in the
logback.xml file, the error logs of the plug-in will be displayed in Console by default.
If the plug-in log is not configured but the BusinessWorks log is configured in the logback.xml file, the configuration for BusinessWorks log is implemented by the plug-in.
- Procedure
- Navigate to the TIBCO_HOME\bw\versionnumber\config\design\logback directory and open the logback.xml file.
- Add the following node in the Console Appender area to specify the plug-in log level.
<logger name="com.tibco.bw.palette.mdm.runtime"> <level value="DEBUG"/> </logger>
- Add the following node in the Console Appender area to specify the log level for a specific activity.
<logger name="com.tibco.bw.palette.mdm.runtime.ActivityNameActivity"> <level value="DEBUG"/> </logger>
For example:
<logger name="com.tibco.bw.palette.mdm.runtime.AddRecordActivity"> <level value="DEBUG"/> </logger>
Note: When the log level is set to DEBUG, the input and output for the plug-in activity are displayed in Console. - Save the file.