commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp AbandonedObjectPool.java
Date Mon, 25 Aug 2003 16:20:00 GMT
dirkv       2003/08/25 09:20:00

  Modified:    dbcp/src/java/org/apache/commons/dbcp
                        AbandonedObjectPool.java
  Log:
  print warning&configuration when starting with AbandonedObjectPool
  
  Revision  Changes    Path
  1.8       +8 -4      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
  
  Index: AbandonedObjectPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbandonedObjectPool.java	22 Aug 2003 16:08:31 -0000	1.7
  +++ AbandonedObjectPool.java	25 Aug 2003 16:19:59 -0000	1.8
  @@ -98,6 +98,10 @@
                                  AbandonedConfig config) {
           super(factory);
           this.config = config;
  +        System.err.println("AbandonedObjectPool is used (" + this + ")");
  +        System.err.println("   LogAbandoned: " + config.getLogAbandoned());
  +        System.err.println("   RemoveAbandoned: " + config.getRemoveAbandoned());
  +        System.err.println("   RemoveAbandonedTimeout: " + config.getRemoveAbandonedTimeout());
       }
   
       /**
  
  
  

Mime
View raw message