Hi all, Thanks for the updates , a small doubt ,if i have the DOMConfigurator.configureAndWatch set then log4j reads the config file and will try to write the Log file( if its not present ) during the set duration isn't it.
Regards Rohith -----Original Message----- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 11:56 PM To: Log4J Users List Subject: Re: Behaviour in Log4j when Logfile is deleted. Reopening the file? That is an interesting suggestion. Instead of reopening at each write, one could close and reopen the file every 10'000 writes or every 10 minutes which is ever comes first. At 02:07 PM 8/29/2003 +0100, you wrote: >(I didn't see the original message, so forgive me if this is not relevent...) > >If you delete a file under Unix, the Java program will still have a "handle" >to it and can't detect whether the file has been deleted externally. A >workaround would be to reopen the file for every write, which would be >dreadful for performance. > >-- >Fergus Gallagher Tel: +44 (20) 8742 1600 -- Ceki For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]