jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1848230 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Date Wed, 05 Dec 2018 17:36:43 GMT
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);
             }
         }
 



Mime
View raw message