logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Fiala <dfi...@gmail.com>
Subject Re: Does log4net throws IO exceptions?
Date Mon, 30 Aug 2010 20:14:49 GMT
No, log4net swallows its internal exceptions so your logging tool does
not blow up your app.


You can turn on its internal debugging, which writes exceptions to the
console and trace logs.


On Mon, Aug 30, 2010 at 5:13 AM, Ratheesh Vijay <rkumar@in.rm.com> wrote:
> Hi,
> I am using log4net with c# 2.0 framework for logging.
> Does log4net throws IO Exceptions when unable to write the log to a disk?
> How to handle the IO exceptions thrown from a lower level?
> What about using delegate to effectively handle the exceptions thrown so
> that minimal code change required at calling places?
> Any help anyone could produce would highly be appreciated.
> Thanks
> Ratheesh
> --
> View this message in context: http://old.nabble.com/Does-log4net-throws-IO-exceptions--tp29570734p29570734.html
> Sent from the Log4net - Users mailing list archive at Nabble.com.

Dean Fiala

RockNUG Figurehead

View raw message