[PATCH 1 of 3] Add some useful debug output

Wald Commits scm-commit at wald.intevation.org
Wed Jul 24 19:03:47 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1374680088 -7200
# Node ID ca80f61370abf87b2024917ad63b73b4bc156072
# Parent  531642542b18fd1b2afa449f2e1e39f72c9fcfa9
Add some useful debug output.

    With debug level info the datacage is so verbose that those
    lines should not hurt but having a variable dump at hand
    can be increadibly useful

diff -r 531642542b18 -r ca80f61370ab artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Jul 24 17:24:02 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Jul 24 17:34:48 2013 +0200
@@ -36,6 +36,7 @@
     </dc:macro>
 
     <dc:macro name="generate-system-content">
+      <dc:message>Generate system content with variables: {dc:dump-variables()}</dc:message>
       <dc:call-macro name="artifact-range">
         <dc:call-macro name="km-filtered-wsts">
           <dc:choose>
@@ -44,6 +45,7 @@
                 Recommendations (client shall load immediately).
               </dc:comment>
               <dc:iterate var="out" container="artifact-outs">
+                <dc:message>Rec out iteration for: {$out}</dc:message>
                 <dc:choose>
                   <dc:when test="$out = 'w_differences'">
                     <dc:call-macro name="annotations"/>
@@ -122,6 +124,7 @@
                 Non - Recommendations.
               </dc:comment>
               <dc:iterate var="out" container="artifact-outs">
+                <dc:message>Non Rec out iteration for: {$out}</dc:message>
                 <dc:choose>
                   <dc:when test="$out = 'cross_section'">
                     <dc:call-macro name="basedata_0"/>


More information about the Dive4elements-commits mailing list