Author: nmalin
Date: Sun Dec 17 20:01:06 2017
New Revision: 1818510
URL:
http://svn.apache.org/viewvc?rev=1818510&view=revLog:
Fixed: Massive stacktraces in JuelConnector.
Added a constraint to verbose logging to avoid logging too much.
Complete the revision 1818498
Modified:
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/JuelConnector.java
Modified: ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/JuelConnector.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/JuelConnector.java?rev=1818510&r1=1818509&r2=1818510&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/JuelConnector.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/JuelConnector.java Sun Dec 17 20:01:06 2017
@@ -117,7 +117,9 @@ public class JuelConnector {
try {
base = prefix.eval(bindings, context);
} catch (Exception e) {
- Debug.log(e, module);
+ if (Debug.verboseOn()) {
+ Debug.logVerbose(e, module);
+ }
}
Object property = getProperty(bindings, context);
if (property == null && strict) {