You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@apache.org on 2002/04/18 21:14:55 UTC
cvs commit: jakarta-james/src/java/org/apache/james/util/mordred JdbcDataSource.java
serge 02/04/18 12:14:55
Modified: src/java/org/apache/james/util/mordred JdbcDataSource.java
Log:
Wrapped another debug message in the DEEP_DEBUG parameter.
Revision Changes Path
1.6 +4 -2 jakarta-james/src/java/org/apache/james/util/mordred/JdbcDataSource.java
Index: JdbcDataSource.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/util/mordred/JdbcDataSource.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- JdbcDataSource.java 18 Apr 2002 14:13:53 -0000 1.5
+++ JdbcDataSource.java 18 Apr 2002 19:14:55 -0000 1.6
@@ -41,7 +41,7 @@
* </pre>
*
* @author <a href="mailto:serge@apache.org">Serge Knystautas</a>
- * @version CVS $Revision: 1.5 $ $Date: 2002/04/18 14:13:53 $
+ * @version CVS $Revision: 1.6 $ $Date: 2002/04/18 19:14:55 $
* @since 4.0
*/
public class JdbcDataSource
@@ -193,7 +193,9 @@
long now = System.currentTimeMillis();
if (now - connLastCreated < 1000 * pool.size()) {
//We don't want to scale up too quickly...
- System.err.println("We don't want to scale up too quickly");
+ if (DEEP_DEBUG) {
+ System.err.println("We don't want to scale up too quickly");
+ }
return null;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>