I have a Application consiting oj JSP, Servlets and cosumes Webservices.I am using lo4j.propetties to log the events.This application is deployed on Weblogic on a Cluster consisting of 2 server on two different Machine.The content of which are
log4j.rootLogger=DEBUG,CA1, FA1
log4j.appender.FA1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FA1.DatePattern = '.'yyy-MM-dd
log4j.appender.FA1.File=ABC.log
log4j.appender.FA1.layout=org.apache.log4j.PatternLayout
log4j.appender.FA1.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p] - %c - %m%n
log4j.appender.CA1=org.apache.log4j.ConsoleAppender
log4j.appender.CA1.layout=org.apache.log4j.PatternLayout
log4j.appender.CA1.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} [%-5p] - %c - %m%n
The location where these log files are created are
/u01/CRM/domains/e09/domain_CRM/ABC.log and
/u01/CRM/domains/e10/domain_CRM/ABC.log
Since my server are on different machine, I therefore need a centralized loogign Place something like this
/u01/CRM/logs/server1/ABC.log
/u01/CRM/logs/server2/ABC.log
How do I do that