We have a problem with multiple applications running in iPlanet Application
Server, using Log4j 1.0.4 (yes, i know its old..). Both applications use a
seperate log4j configuration file (see below).

The problem is that these applications write messages to their own logfile,
but sometimes to the logfile of the other application (these are NOT
duplicate messages). Why is this? Could it be caused by the fact that they
both have a rootCategory specified?

        Configuration application 1:
log4j.rootCategory=DEBUG, A1
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File=/apps/APP1/tracelog/trace.log
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=APP1 %-5p %.25c
%d{yyyyMMddHHmmss} %m%n
log4j.appender.A1.MaxFileSize=5MB
log4j.appender.A1.MaxBackupIndex=4

        Configuration application 2:
log4j.rootCategory=DEBUG, A1
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File=/apps/APP2/tracelog/trace.log
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=APP2 %-5p %.25c
%d{yyyyMMddHHmmss} %m%n
log4j.appender.A1.MaxFileSize=5MB
log4j.appender.A1.MaxBackupIndex=4


Peter.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to