logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37638] logging doesn't fall back with FallbackErrorHandler if PRIMARY appender is used by multiple loggers
Date Fri, 09 Oct 2009 04:07:25 GMT

--- Comment #2 from Curt Arnold <carnold@apache.org> 2009-10-08 21:07:24 PDT ---
The sample configuration only specifies falling back on the root logger.  If
there was a failure, only the root logger would be switched to the FALLBACK
appender.  The "org.mailbox" logger would keep the failed PRIMARY appender.

I've attached a test case that is a variant of the existing
ErrorHandlerTestCase that should have worked, but at least for errors that
occur during configuration, something closes FALLBACK appender before it can
output anything.  Likely some unfortunately interaction between the
configurator and the FallbackErrorHandler.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message