Hi all,
I've a problem with the ADONetAppender. I'm developing C# client-application which is logging to a mysql-database. The application often runs for several days without being restart. Therefore, it isn't uncommon that the db-connection is terminated or broken, so I've enabled reconnect for the adonetappender. It all works well, except that the first log message after reconnect won't be logged. All following messages will be logged as normal. Here is a simplified program flow which shows my problem: logger = LogManager.GetLogger(loggerName); logger.debug("Some Debug-Message"); // works fine logger.debug("Some Debug-Message"); // works fine . . . (some time later, the connection was terminated, for example due to timeout) . logger.debug("Some Debug-Message"); // doesn't work logger.debug("Some Debug-Message"); // works fine Can anyone tell me if there is a way to fix this? Thanks in advance, Christoph