logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Can log4net return exceptions back
Date Wed, 01 Feb 2012 02:09:35 GMT
Implement your own IErrorHandler:

http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetAppenderMembers.html
http://logging.apache.org/log4net/release/sdk/log4net.Core.IErrorHandler.html


________________________________
 From: Roman Konovalov <roman@greenrain.biz>
To: log4net-user@logging.apache.org 
Sent: Sunday, January 29, 2012 6:24 AM
Subject: Can log4net return exceptions back
 

Hi,
 
Is it possible to setup log4net to re-throw exceptions back to caller? For example, if logging
to database is timed out, we might want to save such exception to a file or to send e-mail
to the support team. Thank you.
 
Best regards,
Roman
Mime
View raw message