The AdoNetAppender does not reopen the connection if there is a failure. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] .apache.org&msgNo=1097
For the same reasons as above log4net does not currently support fail over appenders. Cheers, Nicko > -----Original Message----- > From: Rajesh Gupta [mailto:[EMAIL PROTECTED] > Sent: 20 January 2005 22:56 > To: [email protected] > Subject: log4net feature inquiry > > Dear Sir/Madam, > > I have a query about the feature of log4net. I am using : > log4net version : 1.2 > Assembly type : exe > How code is launched: Using Windows Application (in C#) > Runtime platform: MS Visual Studio.NET 2003 > > Currently, if the database connecting is lost , the log4net stops > logging to the database . Is there a way to check for database > connectivity from log4net code. Conditionally, I want to log > the events to System Windows NT Eventlog if the database > connection is closed. Is this conditional feature provided by > log4net already ? > > I want to use the EventlogAppender only when the database > connectivity is not available . > > I would highly appreciate your help. > > Thanks, > Rajesh Gupta > Dallas,TX-75093 > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection > around http://mail.yahoo.com > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection > around http://mail.yahoo.com >
