Improved logging of removed connections.

This commit is contained in:
Simone Bordet 2013-01-10 09:16:41 +01:00
parent d087a88caf
commit a374ac0cc8
1 changed files with 2 additions and 2 deletions

View File

@ -370,8 +370,8 @@ public class HttpDestination implements Destination, AutoCloseable, Dumpable
removed |= idleConnections.remove(connection);
if (removed)
{
LOG.debug("{} removed", connection);
connectionCount.decrementAndGet();
int open = connectionCount.decrementAndGet();
LOG.info("Removed connection {} for {} - open: {}", connection, this, open);
}
// We need to execute queued requests even if this connection failed.