From a374ac0cc8c0109a3e1bc79ed21ce123ecd4866f Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 10 Jan 2013 09:16:41 +0100 Subject: [PATCH] Improved logging of removed connections. --- .../main/java/org/eclipse/jetty/client/HttpDestination.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java index 7bd85bb3b49..09394236e66 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java @@ -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.