logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Reed" <john.r...@perfconn.demon.co.uk>
Subject How to catch exceptions thrown by appenders ?
Date Wed, 12 Dec 2001 11:35:09 GMT
Is there a recommended way to handle exceptions that may be thrown by an
appender ?

It looks like the standard exception handling is to report an error using
the OnceOnlyErrorHandler - which reports an error once and then ignores
future exceptions.

Would the right technique be to overide methods in this class to set flags
that may be picked up by an overall static logging class ?

John Reed
0044-1753-684741 Home
0044-7855-853664 Mob
john.reed@perfconn.demon.co.uk (home)

To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message