I am using the AdoNetAppender to write to a SQL Server 2005 database table. I have bufferSize set to 1 so that entries are written immediately.
My DBA is concerned that log4net is leaving its database connection open. We have ~50 connections to the database today but only 22 log entries. In several cases there are multiple connections from the same client with different login times.
It sounds to me that connection pooling isn't working or that there's a resource I'm not releasing in code. How should I troubleshoot this?