You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2018/12/05 17:36:43 UTC
svn commit: r1848230 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Author: pmouawad
Date: Wed Dec 5 17:36:43 2018
New Revision: 1848230
URL: http://svn.apache.org/viewvc?rev=1848230&view=rev
Log:
Improve logging
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java?rev=1848230&r1=1848229&r2=1848230&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java Wed Dec 5 17:36:43 2018
@@ -1069,12 +1069,12 @@ public class HTTPHC4Impl extends HTTPHCA
}
httpClient = builder.build();
if (log.isDebugEnabled()) {
- log.debug("Created new HttpClient: @"+System.identityHashCode(httpClient) + " " + key.toString());
+ log.debug("Created new HttpClient: @{} {}", System.identityHashCode(httpClient), key);
}
mapHttpClientPerHttpClientKey.put(key, Pair.of(httpClient, pHCCM)); // save the agent for next time round
} else {
if (log.isDebugEnabled()) {
- log.debug("Reusing the HttpClient: @"+System.identityHashCode(httpClient) + " " + key.toString());
+ log.debug("Reusing the HttpClient: @{} {}", System.identityHashCode(httpClient),key);
}
}