jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1756045 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java
Date Thu, 11 Aug 2016 20:25:13 GMT
Author: pmouawad
Date: Thu Aug 11 20:25:12 2016
New Revision: 1756045

URL: http://svn.apache.org/viewvc?rev=1756045&view=rev
Log:
log only if level is debug

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java?rev=1756045&r1=1756044&r2=1756045&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java Thu Aug 11 20:25:12
2016
@@ -111,8 +111,9 @@ public class BeanShell extends AbstractF
         {
             log.warn("Error running BSH script", ex);
         }
-
-        log.debug("Output=" + resultStr);
+        if(log.isDebugEnabled()) {
+            log.debug("Output=" + resultStr);
+        }
         return resultStr;
 
     }



Mime
View raw message