Project

General

Profile

Actions

Feature #7101

closed

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

Added by Jing Tao over 7 years ago. Updated over 7 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.

Actions #1

Updated by Jing Tao over 7 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.

Actions

Also available in: Atom PDF