jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1846197 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java
Date Thu, 08 Nov 2018 21:15:44 GMT
Author: fschumacher
Date: Thu Nov  8 21:15:44 2018
New Revision: 1846197

URL: http://svn.apache.org/viewvc?rev=1846197&view=rev
Log:
Use format string in log message.

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java?rev=1846197&r1=1846196&r2=1846197&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/URLCollection.java
Thu Nov  8 21:15:44 2018
@@ -87,7 +87,7 @@ public class URLCollection implements It
         } catch (MalformedURLException mfue) {
             // No WARN message to avoid performance impact
             if(log.isDebugEnabled()) {
-                log.debug("Error occurred building relative url for:"+url+", message:"+mfue.getMessage());
+                log.debug("Error occurred building relative url for: {}, message: {}", url,
mfue.getMessage());
             }
             // No point in adding the URL as String as it will result in null 
             // returned during iteration, see URLString



Mime
View raw message