log4j.appender.MAIN_LOG.File=${catalina.base}/logs/main.log
log4j.appender.MAIN_LOG=org.apache.log4j.RollingFi leAppender
log4j.appender.MAIN_LOG.layout=com.ingdirect.util. log.Log4JSimpleLayout
log4j.appender.MAIN_LOG.MaxFileSize=100KB
log4j.appender.MAIN_LOG.MaxBackupIndex=99

log4j.rootLogger=INFO, MAIN_LOG

And what i see is :

main.log
main.log.4

I see main.log.1 overwritten by main.log.2 which is overwritten by main.log.3, etc


Can anyone tell me what's the issue ?

Thanks