Author: fschumacher Date: Sun Dec 2 11:20:26 2018 New Revision: 1847978 URL: http://svn.apache.org/viewvc?rev=1847978&view=rev Log: Use log format strings
Part of #435 and Bugzilla Id: 62972 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/BaseParser.java Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/BaseParser.java URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/BaseParser.java?rev=1847978&r1=1847977&r2=1847978&view=diff ============================================================================== --- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/BaseParser.java (original) +++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/BaseParser.java Sun Dec 2 11:20:26 2018 @@ -58,7 +58,7 @@ public abstract class BaseParser impleme // Is there a cached parser? LinkExtractorParser parser = PARSERS.get(parserClassName); if (parser != null) { - LOG.debug("Fetched " + parserClassName); + LOG.debug("Fetched {}", parserClassName); return parser; } @@ -72,7 +72,7 @@ public abstract class BaseParser impleme } catch (IllegalArgumentException | ReflectiveOperationException | SecurityException e) { throw new LinkExtractorParseException(e); } - LOG.info("Created " + parserClassName); + LOG.info("Created {}", parserClassName); if (parser.isReusable()) { LinkExtractorParser currentParser = PARSERS.putIfAbsent( parserClassName, parser);// cache the parser if not already