Project

General

Profile

« Previous | Next » 

Revision 9969

Added by Jing Tao over 8 years ago

Change the debug level from debug to trace.

View differences:

src/edu/ucsb/nceas/metacat/database/DBConnectionPool.java
259 259
            db.setCheckOutMethodName(methodName);
260 260
            db.setAutoCommit(true);
261 261
            //debug message
262
            logMetacat.debug("DBConnectionPool.getDBConnection - The connection is checked out: " + db.getTag());
263
            logMetacat.debug("DBConnectionPool.getDBConnection - The method for checking is: " + db.getCheckOutMethodName());
264
            logMetacat.debug("DBConnectionPool.getDBConnection - The age is " + db.getAge());
265
            logMetacat.debug("DBConnectionPool.getDBConnection - The usage is " + db.getUsageCount());
266
            logMetacat.debug("DBConnectionPool.getDBConnection - The connection time is: " + db.getConnectionTime());
262
            logMetacat.trace("DBConnectionPool.getDBConnection - The connection is checked out: " + db.getTag());
263
            logMetacat.trace("DBConnectionPool.getDBConnection - The method for checking is: " + db.getCheckOutMethodName());
264
            logMetacat.trace("DBConnectionPool.getDBConnection - The age is " + db.getAge());
265
            logMetacat.trace("DBConnectionPool.getDBConnection - The usage is " + db.getUsageCount());
266
            logMetacat.trace("DBConnectionPool.getDBConnection - The connection time is: " + db.getConnectionTime());
267 267
            
268 268
//            System.out.println("DBConnectionPool.getDBConnection - The connection is checked out: " + db.getTag());
269 269
//            System.out.println("DBConnectionPool.getDBConnection - The method for checking is: " + db.getCheckOutMethodName());

Also available in: Unified diff