Hi, I had extended FileAppender to form ExtendedRollingFileAppender which acts same as RollingFileAppender exvcept when MaxBackupIndex =0, it writes to the same file and the file is truncated to the MaxFileSize every time (The oldest contents gets truncated) But following wranning creeps up on execution log4j:WARN Failed to set property maxFileSize to value "1KB". Conversion to type [long] failed. Reason: java.lang.Number FormatException: 1KB <<ExtendedRollingFileAppender.java>> Can anybody please guide me in this matter.. Thanks Venu This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International.
ExtendedRollingFileAppender.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]