[PATCH 1 of 8] Silence overly spammy debug output

Wald Commits scm-commit at wald.intevation.org
Fri Oct 4 17:56:35 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380640255 -7200
# Node ID 03201eaf594f98249810dff26c1a2362adaadc36
# Parent  ff7ab6b390a96f607e5b300d7359f8e04a2dc0da
Silence overly spammy debug output

diff -r ff7ab6b390a9 -r 03201eaf594f artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java
--- 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);
diff -r ff7ab6b390a9 -r 03201eaf594f artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java
--- 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());
     }


More information about the Dive4elements-commits mailing list