You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/08/11 20:25:13 UTC
svn commit: r1756045 -
/jmeter/trunk/src/functions/org/apache/jmeter/functions/BeanShell.java
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;
}