You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Simon Wallis <ma...@wallis.ca> on 2006/02/02 16:24:37 UTC

ADO.NET Appender and connection pooling

Hi,

It seems that the ADO.NET appender only ever uses one connection to the database. It opens this connection when the config file is parsed, and keeps it open for the duration of its life.

Does anyone see any problems with this being a bottleneck? I searched in the archives and can't find anyone else ever bringing this up. I just wonder if this is a problem under heavy load, because aren't you single-threading access to the database? Logging calls to the ADO.NET Appender are synchronous too.

Does anyone have thoughts on this?

Simon.