Hi,
I am using WAS 6.0 server for my application.
I have configured log4j.properties as
log4j.rootLogger=DEBUG, R'
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%-d{MMM dd yyyy HH:mm:ss} %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=log\\weblog.log
log4j.appender.R.MaxFileSize=40000KB
# Keep up to ten backup files
log4j.appender.R.MaxBackupIndex=100
log4j.appender.R.layout=org.apache.log4j.PatternLayout
#log4j.appender.R.layout.ConversionPattern=%p %-d{MMM dd yyyy HH:mm:ss} %c - %m%n
log4j.appender.R.layout.ConversionPattern=[slf5s.start]%p[slf5s.PRIORITY] %d{DATE}[slf5s.DATE] %c[slf5s.CATEGORY] - %m[slf5s.MESSAGE] %x[slf5s.NDC] %t[slf5s.THREAD] %l[slf5s.LOCATION]%n
It was storing index files upto 100 properly.
But recently , when checked it is overwriting the same log file and not maintaining any index files.
There are no changes done to WAS deployment settings.
What could be the reason for this?
Thanks.