I found a note saying that this can't be used with the XML config file (DOMConfigurer). Is that still the case?
James Stauffer -----Original Message----- From: Rabl, Christian [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 4:41 AM To: [EMAIL PROTECTED] Subject: FallbackErrorHandler: Empty method body I tried to configure a fallback appender in my log4j configuration using the FallbackErrorHandler class, and was surprised that not any log event was sent to my fallback appender. On debugging my test app I discovered that the implementation of the method void error(String message, Exception e, int errorCode, LoggingEvent event) from the Errorhandler interface, which replaces the original appender with the fallback appender, was never called. In the source code of the 1.2.8 distribution I found the following method with an empty body: public void error(String message) But that method is called for example twice in WriterAppender.checkEntryConditions. I assume the method body should look like that: public void error(String message) { error( message, null, 0, null ); } Christian Rabl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]