Do you think you can use a customized ErrorHandler? See
org.apache.log4j.spi.ErrorHandler. Note that ErrorHandlers can only be
configured via DOMConfigurator.

--

Thomas


| -----Original Message-----
| From: Tumpach, Andrew J [mailto:[EMAIL PROTECTED]]
| Sent: 27 June 2002 16:42
| To: [EMAIL PROTECTED]
| Subject: RE: Exception propagation
|
|
| Does anyone have any thoughts on this?
|
| Andrew
|
| -----Original Message-----
| From: Tumpach, Andrew J
| Sent: Tuesday, June 25, 2002 3:22 PM
| To: '[EMAIL PROTECTED]'
| Subject: Exception propagation
|
|
| I understand why in some cases it's a benefit that Log4J doesn't
| propagate exceptions, however, in our case, we are using Log4J to
| do auditing.  The fact that we won't receive an exception if a
| logging call fails is important.  Any thoughts on how to get
| around this?  I can't see a way, without some rather drastic
| rewriting of Log4J code.
|
| P.S. I wonder whether making exception propagation configurable
| would be possible in the near future...?
|
| Thanks,
| Andrew
|
|
| --
| To unsubscribe, e-mail:
| <mailto:[EMAIL PROTECTED]>
| For additional commands, e-mail:
| <mailto:[EMAIL PROTECTED]>
|
|



*************************************************************************
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. 
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to