I have experienced the same problem. I ended up having to write a new
FileAppender which checks every time the appender is written to wether
or not the logfile still exists. If it doesn't, I just open a new file
with the same name by calling setFile().

If I overlooked an easier or more logical way of accomplishing this I'd
be very interested in finding out.

Regards,
Stijn

-----Original Message-----
From: PR-Guest3, Basel {~Basel} [mailto:BASEL.PR-GUEST3@;Roche.COM] 
Sent: Thursday, October 24, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: What happens when the logfile is deleted on the server


Hi,

I'm currently using a FileAppender, and I would like to know if there is
a way to continue logging even if someone removes the logfile from the
my server ? 

--
To unsubscribe, e-mail:
<mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:log4j-user-help@;jakarta.apache.org>



**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>

Reply via email to