[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    How to catch exceptions thrown by appenders ?
From:       "John Reed" <john.reed () perfconn ! demon ! co ! uk>
Date:       2001-12-12 11:35:09
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic