Project

General

Profile

Feature #7101

Metacat-index picks up the changes in log4j.properteis without restarting tomcat

Added by Jing Tao about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/14/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Metacat can pick up the changes in log4j.properteis without restarting tomcat. However, Metacat-index can't. This is a good feature for production Metacat since it can decrease the down time.

History

#1 Updated by Jing Tao about 3 years ago

  • Status changed from New to Resolved

In the initialize method of ApplicationControl class, the code like this was added:
PropertyConfigurator.configureAndWatch(log4jPropFile);

It worked.

Also available in: Atom PDF