You mean you want the file to be over-written every time a log event occurs? The append function in log4j applies to loggers so when you set it to false it means your logger will not pass logging events to loggers higher up in the hierarchy.
Log4j provides rolling files which are configurable as to when they roll. This request seems a bit odd so maybe if you explained in more detail what you want and also posted your config file. Cheers, Philip. -----Original Message----- From: Gerard Menezes [mailto:[EMAIL PROTECTED] Sent: October 25, 2005 10:08 PM To: [email protected] Subject: Preventing File Append using log4j Hi, I'm using log4j and need to prevent File Append from happening. I need the logging to be overwritten everytime it logs. I've tried setting <param name="Append" value="false"/> in the appender configuration, but it does not work. Any suggestions ? Thanks -Gerard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
