avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject cvs commit: avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource AbstractJdbcConnection.java
Date Mon, 21 Jul 2003 15:54:48 GMT
leif        2003/07/21 08:54:47

  Modified:    datasource/src/java/org/apache/avalon/excalibur/datasource
                        AbstractJdbcConnection.java
  Log:
  Change errors caught while closing connections from Warning to Debug level
  messages as errors while closing a connection are not critical.  Some drivers will
  throw an exception if close() is called on a connection which has already been
  closed by the server.
  
  Revision  Changes    Path
  1.31      +3 -3      avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java
  
  Index: AbstractJdbcConnection.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- AbstractJdbcConnection.java	18 Jul 2003 02:39:06 -0000	1.30
  +++ AbstractJdbcConnection.java	21 Jul 2003 15:54:47 -0000	1.31
  @@ -323,9 +323,9 @@
           }
           catch( final SQLException se )
           {
  -            if( getLogger().isWarnEnabled() )
  +            if( getLogger().isDebugEnabled() )
               {
  -                getLogger().warn( "Could not close connection", se );
  +                getLogger().debug( "Could not close connection", se );
               }
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message