logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Collier, Mike" <Mike_Coll...@stercomm.com>
Subject How to use ErrorHandler
Date Fri, 17 Dec 2004 22:26:06 GMT
How would I use the ErrorHandler property for an appender?  For example,
let's assume I'm using the ADONetAppender and for some reason it fails
(i.e. unable to connect to the database server).  I would like to not
loose the message.  I was thinking that I could use the ErrorHandler
property to define another appender to use in this case.  However, I'm
not sure how to do this.  Does anybody have any examples or ideas on how
this might be accomplished.




View raw message