Skip to content

Commit 8a2b0f5

Browse files
authored
Improve debug logging around connections that cannot be reused (#515)
1 parent ed1c1d6 commit 8a2b0f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ public void release(final ConnectionEndpoint endpoint, final Object state, final
409409
}
410410
} else {
411411
if (LOG.isDebugEnabled()) {
412-
LOG.debug("{} connection is not kept alive", ConnPoolSupport.getId(endpoint));
412+
LOG.debug("{} connection is not kept alive(isConsistent:{})", ConnPoolSupport.getId(endpoint), conn.isConsistent());
413413
}
414414
}
415415
} catch (final RuntimeException ex) {

0 commit comments

Comments
 (0)