logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buchanan, Paul" <Paul.Bucha...@thomson.com>
Subject Fallback Error Handler behavior
Date Tue, 17 Jun 2003 19:54:02 GMT


> I have a few questions regarding the FallbackErrorHandler's behavior.  I
> have a FallbackErrorHandler attached to an appender that writes to a SQL
> database.  From my testing, it looks like upon the first error writing to
> the database, the FallbackErrorHandler adds the secondary appender to the
> logger, and the event is not logged.  Log events after this are then
> logged to both the primary and secondary appenders regardless of the
> existence of an error.  Upon another error, the event is correctly logged
> to the secondary appender.
> 
> It was my understanding that each and every event would be logged, and
> that the secondary appender would only be logged to in event of an error.
> This is not the behavior that I am experiencing.  Should I be getting
> different behavior?
> 
> Thanks,
> 
> Paul Buchanan
> email: paul.buchanan@thomson.com
> 

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


Mime
View raw message