Bug #5534
closedReplication log somehow doesn't work.
0%
Description
Metacat logged the some important replication information into the metacatreplication.log file which stays in the directory specified by property replication.logdir in metacat.properties file.
This metacatreplication.log file helped the user to monitor the replication process easily.
However, it is just sort of working right now.
Duane reported that the last timed replication on LTER was 2011-11-03, but the last time to touch the log file was 2010-04-26.
Knb has the similar scenario.
I dug a little bit on the metacat code. In replication relevant class, it always has something like:
private static Logger logReplication = Logger.getLogger("ReplicationLogging");
private static Logger logMetacat = Logger.getLogger(ForceReplicationHandler.class);
Replication information was reorded to both logReplication and logMetacat.
I believe the loggers write info to catalina.out.
Since the catalina.out is big file and not easily to track, is it possible we still to make metacatreplication.log work?
Updated by ben leinfelder about 13 years ago
had to add the log level when defining the replication logger:
log4j.logger.ReplicationLogging=INFO, replication
Updated by Jing Tao about 13 years ago
Ben: after you change the debug level, the replication log will go to catalina.out or the metacatreplication.log file?
We want it to be in metacatreplication.log file.
Updated by ben leinfelder about 13 years ago
As configured, all INFO level (and above) messages for ReplicationLogging will go to the replication log file and not catalina.out