Project

General

Profile

« Previous | Next » 

Revision 1333

Added by Jing Tao over 21 years ago

Chage the debug level for display the free connection number.

View differences:

src/edu/ucsb/nceas/metacat/DBConnectionPool.java
697 697
     DBConnection conn = null; // the dbconnection
698 698
     connectionPoolSize = connectionPool.size();
699 699
     freeConnectionSize = getFreeDBConnectionNumber();
700
     MetaCatUtil.debugMessage("Connection pool size: " +connectionPoolSize, 3);
701
     MetaCatUtil.debugMessage("Free Connection number: "+freeConnectionSize, 3);
700
     MetaCatUtil.debugMessage("Connection pool size: " +connectionPoolSize, 35);
701
     MetaCatUtil.debugMessage("Free Connection number: "+freeConnectionSize, 35);
702 702
     difference = connectionPoolSize - freeConnectionSize;
703 703
     
704 704
     //If all connections are free and connection pool size greater than 

Also available in: Unified diff