I submitted a FailoverErrorHandler class a while back (can be used with
the DOMConfigurator) but I don't think it ever made it to the log4j
sandbox.  The archived message (with attachment) is here:
http://marc.theaimsgroup.com/?l=log4j-dev&m=105607193030090&w=2

It is similar in concept to the FallbackErrorHandler except that it does
not switch off the primary appender if it fails. It simply sends the
logging event to the backup appender.


-Scott Heaberlin
 

> -----Original Message-----
> From: James Stauffer [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 15, 2004 1:14 PM
> To: '[EMAIL PROTECTED]'
> Subject: Backup appender
> 
> 
> Is there a way to setup a backup appender? e.g. if DBAppender 
> can't write the event to the database then it will send it to 
> a FileAppender.
> 
> James Stauffer
> 


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

Reply via email to