Skip to content

Commit 57d19c4

Browse files
committed
tweak: lower logging jibberjabber
1 parent d16961d commit 57d19c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/danga/MemCached/SockIOPool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ protected synchronized void selfMaint() {
10061006
for ( Iterator i = availPool.keySet().iterator(); i.hasNext(); ) {
10071007
String host = (String)i.next();
10081008
Map sockets = (Map)availPool.get(host);
1009-
log.error( "++++ Size of avail pool for host (" + host + ") = " + sockets.size() );
1009+
log.debug( "++++ Size of avail pool for host (" + host + ") = " + sockets.size() );
10101010

10111011
// if pool is too small (n < minSpare)
10121012
if ( sockets.size() < minConn ) {
@@ -1068,7 +1068,7 @@ else if ( sockets.size() > maxConn ) {
10681068
for ( Iterator i = busyPool.keySet().iterator(); i.hasNext(); ) {
10691069
String host = (String)i.next();
10701070
Map sockets = (Map)busyPool.get( host );
1071-
log.error( "++++ Size of busy pool for host (" + host + ") = " + sockets.size() );
1071+
log.debug( "++++ Size of busy pool for host (" + host + ") = " + sockets.size() );
10721072

10731073
// loop through all connections and check to see if we have any hung connections
10741074
for ( Iterator j = sockets.keySet().iterator(); j.hasNext(); ) {

0 commit comments

Comments
 (0)