Howdy,
I answered this exact question a couple of days ago: search this list's
archives for more details.  My solution (there are others) was using a
org.apache.log4j.FallbackErrorHandler.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Sanjeev Sahay [mailto:[EMAIL PROTECTED]
>Sent: Friday, June 06, 2003 4:59 AM
>To: [EMAIL PROTECTED]
>Subject: How to switch appender in case of runtime exception
>
>Hi,
>
>Can anybody tell me how to log into file in case of Database problem
(like
>Database server is down)? I'm using JdbcAppender for logging into
database.
>Need to divert the logging to file in case of any exception while
logging
>to
>Database. How to go about this?
>
>Regards,
>
>Sanjeev
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to