jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Remove leftover log message from debug session
Date Fri, 15 Jan 2021 17:56:13 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 66e4921  Remove leftover log message from debug session
66e4921 is described below

commit 66e492113bde973ce5d0ed163efb5aa61efe3145
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Fri Jan 15 18:54:12 2021 +0100

    Remove leftover log message from debug session
    
    Instead of logging at info level, log it with debug, only and remove the
    unnecessary creation of a RuntimeException.
    
    Cleanup after commit bb0c4557e10278f334844f8c1af873b708981b08
    Bugzilla Id: 65013
---
 .../main/java/org/apache/jmeter/protocol/http/curl/BasicCurlParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/curl/BasicCurlParser.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/curl/BasicCurlParser.java
index b1dd350..3533576 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/curl/BasicCurlParser.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/curl/BasicCurlParser.java
@@ -989,7 +989,7 @@ public class BasicCurlParser {
    }
 
    private String unquote(String value) {
-       LoggerFactory.getLogger(this.getClass()).info("Unquote {}", value, new RuntimeException(""));
+       LoggerFactory.getLogger(this.getClass()).debug("Unquote {}", value);
        if (value.charAt(0) == '"') {
            String result = value.substring(1, value.length() - 1);
            return result.replaceAll("\\\\(.)", "$1");


Mime
View raw message