Hello All,

I am facing a problem with Rolling File appender. Following is my
configuration. This works fine on a linux system, the file gets rolled over
everyday and the new logs go to the new file.

But on a solaris, even though the file is rolled over, it keeps on logging
to old as well as new file. This happens for about 8 - 10 hrs and then it
just writes to the new file.

Any idea what the problem might be.

log4j.logger.com.aa.ddd.ccc=DEBUG_xyz
log4j.appender.DEBUG_xyz=org.apache.log4j.DailyRollingFileAppender
log4j.appender.DEBUG_xyz.DatePattern=.yyyy-MM-dd
log4j.appender.DEBUG_xyz.layout=org.apache.log4j.PatternLayout
log4j.appender.xyz.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t]
%c{1} - %m%n
log4j.appender.xyz.threshold=DEBUG

Thanks
Rupali

Reply via email to