murthypatnaik
Programmer
Hi,
I disabled the log file rotation as,
*************************************
log4j.appender.A2=org.apache.log4j.RollingFileAppender
//log4j.appender.A2.MaxFileSize=1000KB
//log4j.appender.A2.MaxBackupIndex=30
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%-5p %d %x : [%c{1} - %m %x %n
*************************************
Even though I commented MaxFileSize, MaxBackupIndex, it is rolling over file for every 10MB. I don't want this rolling behavior. Please suggest me in this regard.
Thanks,
Murthy P
I disabled the log file rotation as,
*************************************
log4j.appender.A2=org.apache.log4j.RollingFileAppender
//log4j.appender.A2.MaxFileSize=1000KB
//log4j.appender.A2.MaxBackupIndex=30
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%-5p %d %x : [%c{1} - %m %x %n
*************************************
Even though I commented MaxFileSize, MaxBackupIndex, it is rolling over file for every 10MB. I don't want this rolling behavior. Please suggest me in this regard.
Thanks,
Murthy P