The doc comment for the AdoNetAppender ReconnectOnError is not very clear. If the connection needs to be re-opened it will occur synchronously and this will block for up to the database connection timeout. It is possible that the appender may be being used asynchronously either by the calling app or through some form of asynchronous appender. No such asynchronous appender exists in the log4net distribution, however it is straightforward to implement a simple one if required.
The AdoNetAppender supports buffering, which is enabled by default. The database connection will only be re-established when the buffer is sent, i.e. when it is full or when a triggering event arrives. Nicko > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 14 June 2005 10:51 > To: [email protected] > Subject: Asynchronous Flag for AdoNetAdapter? > > Hi folks, > I want to set the ReconnectOnError Flag, and the SDK > documentation says that i should do asynchronous logging then. > > How do i set a async flag for AdoNetAdapter? > > > Thanks > Roland Kofler > >
