changeset 7235:03201eaf594f

Silence overly spammy debug output
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 01 Oct 2013 17:10:55 +0200
parents ff7ab6b390a9
children a9bd4a23a852
files artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Fri Oct 04 12:16:37 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Tue Oct 01 17:10:55 2013 +0200
@@ -991,9 +991,11 @@
 
         protected Object evaluateXPath(String expr, QName returnType) {
 
+            /*
             if (log.isDebugEnabled()) {
                 log.debug("evaluate: '" + expr + "'");
             }
+            */
 
             try {
                 XPathExpression x = getXPathExpression(expr);
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java	Fri Oct 04 12:16:37 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java	Tue Oct 01 17:10:55 2013 +0200
@@ -151,9 +151,11 @@
 
     @Override
     public Object resolveVariable(QName variableName) {
+        /*
         if (log.isDebugEnabled()) {
             log.debug("resolve var: " + variableName);
         }
+        */
 
         return getNull(variableName.getLocalPart());
     }

http://dive4elements.wald.intevation.org