velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1854849 - /velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
Date Tue, 05 Mar 2019 13:14:44 GMT
Author: cbrisson
Date: Tue Mar  5 13:14:44 2019
New Revision: 1854849

URL: http://svn.apache.org/viewvc?rev=1854849&view=rev
Log:
[engine] Without strict mode, invalid references rendering and invalid method calls should
all be at the debug loglevel

Modified:
    velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java

Modified: velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java?rev=1854849&r1=1854848&r2=1854849&view=diff
==============================================================================
--- velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
(original)
+++ velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
Tue Mar  5 13:14:44 2019
@@ -176,7 +176,7 @@ public class ASTMethod extends SimpleNod
                 if (i < params.length - 1)
                     plist.append(", ");
             }
-            log.warn("Object '{}' does not contain method {}({}) at {}[line {}, column {}]",
o.getClass().getName(), methodName, plist, getTemplateName(), getLine(), getColumn());
+            log.debug("Object '{}' does not contain method {}({}) at {}[line {}, column {}]",
o.getClass().getName(), methodName, plist, getTemplateName(), getLine(), getColumn());
         }
 
         /*



Mime
View raw message