Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0.6
-
None
Description
I'm using logback for logging to database using DBAppender. I've configured a connection pool of 20 connections. The problem is that DBAppenderBase closes the Connection-objects after each insert, which is undesired as the connection pool implementation should take care of the life cycle of the connections.
public abstract class DBAppenderBase<E> extends UnsynchronizedAppenderBase<E> { ... ... public void append(E eventObject) { ... ... } finally { DBHelper.closeConnection(connection); } ...