Author: fschumacher
Date: Mon Feb 12 11:26:54 2018
New Revision: 1823946

URL: http://svn.apache.org/viewvc?rev=1823946&view=rev
Log:
Use log format strings.

Modified:
    
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.java

Modified: 
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.java
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.java?rev=1823946&r1=1823945&r2=1823946&view=diff
==============================================================================
--- 
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.java
 (original)
+++ 
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.java
 Mon Feb 12 11:26:54 2018
@@ -67,7 +67,9 @@ public class RegExUserParameters extends
 
         Map<String, String> paramMap = buildParamsMap();
         if(paramMap == null || paramMap.isEmpty()){
-            log.info("RegExUserParameters element:"+getName()+" => Referenced 
RegExp was not found, no parameter will be changed");
+            log.info(
+                    "RegExUserParameters element: {} => Referenced RegExp was 
not found, no parameter will be changed",
+                    getName());
             return;
         }
 
@@ -82,7 +84,9 @@ public class RegExUserParameters extends
                 arg.setValue(val);
             }
             if (log.isDebugEnabled()) {
-                log.debug("RegExUserParameters element:" + getName() + " => 
changed parameter: " + arg.getName() + " = " + arg.getValue() + ", was:" + 
oldValue);
+                log.debug(
+                        "RegExUserParameters element: {} => changed parameter: 
{} = {}, was: {}",
+                        getName(), arg.getName(), arg.getValue(), oldValue);
             }
         }
     }


Reply via email to