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]
