You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by le...@apache.org on 2005/04/13 05:35:57 UTC
svn commit: r161150 -
excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java
Author: leif
Date: Tue Apr 12 20:35:55 2005
New Revision: 161150
URL: http://svn.apache.org/viewcvs?view=rev&rev=161150
Log:
Give connection instances their own child logger under the pool.
Modified:
excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java
Modified: excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java
URL: http://svn.apache.org/viewcvs/excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java?view=diff&r1=161149&r2=161150
==============================================================================
--- excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java (original)
+++ excalibur/trunk/components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java Tue Apr 12 20:35:55 2005
@@ -217,7 +217,7 @@
throw new NoValidConnectionException( e.getMessage() );
}
- ContainerUtil.enableLogging( jdbcConnection, getLogger() );
+ ContainerUtil.enableLogging( jdbcConnection, getLogger().getChildLogger( "conn" ) );
// Not all drivers are friendly to explicitly setting autocommit
if( jdbcConnection.getAutoCommit() != m_autoCommit )
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org