2 messages in org.apache.logging.log4j-userRE: Backup appender
FromSent OnAttachments
James StaufferJun 15, 2004 10:13 am 
Scott HeaberlinJun 15, 2004 7:09 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: Backup appenderActions...
From:Scott Heaberlin (heab@yahoo.com)
Date:Jun 15, 2004 7:09:02 pm
List:org.apache.logging.log4j-user

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.

-----Original Message----- From: James Stauffer [mailto:jsta@spscommerce.com] Sent: Tuesday, June 15, 2004 1:14 PM To: 'log4@jakarta.apache.org' 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.