How to dynamically change the log level of TIBCO Web Messaging for TIBCO EMS.

book

Article ID: KB0092521

calendar_today

Updated On:

Products Versions
TIBCO Web Messaging for TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
TWM use log4j for logging internally. All logging configurations are contained in log4j-config.xml. However, in version 3.X, it is not possible to change the log level dynamically. The TWM server will not pick up changes to log4j-config.xml if changes are made after the server is started. Beginning with TWM 4.x, it is now possible changing the log4j-config.xml after the server starts. TWM will automatically recognize the changes made in log4j-config.xml.


For example, you can change the root logger level by setting the priority value to debug. The default value is "warn".

<root>
   <priority value="debug"
   <appender-ref ref="ErrorFile"/>
</root>

Issue/Introduction

How to dynamically change the log level of TIBCO Web Messaging for TIBCO EMS.