Hello everyone, Can any of you answer my problem....... has anybody faced it ?????
Its URGENT !!!!!!! Regards Vikas Yadav SMTS - Deploy India Intersolutions Pvt. Ltd. [O] +91-120-2585702 /3 /4 Ext.: 506 -----Original Message----- From: Vikas Yadav [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 4:42 PM To: [EMAIL PROTECTED] Subject: RollingFileAppender on Windows Platform Hi, I am facing a typical problem when I use log4j on Windows platform. The problem is that it overwrites the existing log file when it reaches to maximum size even though I have given maximum no of backups to 50. Below is the XML file where I have defined properties. <appender name="Default" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="d:/abc/data/Logs/log.txt"/> <param name="MaxFileSize" value="2000KB"/> <param name="MaxBackupIndex" value="50"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[XCT v%X{version}] %d %-5p%c(%F:%L) - %m%n"/> </layout> </appender> It works fine on solaris. Please help... ASAP. This is very critical issue for me. Cheers Vik Regards Vikas Yadav SMTS - Deploy India Intersolutions Pvt. Ltd. [O] +91-120-2585702 /3 /4 Ext.: 506 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
