How to change the log level ofTIBCO BusinessWorks ProcessMonitor using log4j.properties file?

How to change the log level ofTIBCO BusinessWorks ProcessMonitor using log4j.properties file?

book

Article ID: KB0093037

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks ProcessMonitor -
Not Applicable -

Description

Description:
The log level of TIBCO BusinessWorks ProcessMonitor (BWPM) can be changed using the GUI as well as from back end. 
From the back end, log4j properties can be changed to alter the log level.

Issue/Introduction

How to change the log level ofTIBCO BusinessWorks ProcessMonitor using log4j.properties file?

Resolution

In order to change the log level from the back end, browse to:

<TOMCAT_WEBAPPS>\bwpm\WEB-INF\data} to log4j.properties file.
To change log level from INFO to say TRACE, root logger should have TRACE ROLE as follows:-

Change:
log4j.rootLogger=INFO,MeinDaRoFiAppender

To:
log4j.rootLogger=TRACE,MeinDaRoFiAppender

Note that Appendername is different for different TIBCO BusinessWorks ProcessMonitor (BWPM) server versions, so keep all settings the same except in the log4j.rootLogge file.Change. INFO to TRACE. This change of log level is important in case there is some issue in deploying the BWPM server on Tomcat. The default root log level is INFO. In case an issue is encountered during deployment and you want to TRACE it, the log level can be changed to TRACE/DEBUG by following the steps above.

Additional Information

TIBCO BusinessWorks ProcessMonitor Server Administration Guide>System Management >Logging