[PATCH 4 of 6] Improve debug output in timerangestate

Wald Commits scm-commit at wald.intevation.org
Thu Aug 15 16:51:16 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1376576750 -7200
# Node ID 233a1b04fb8a65f18b30ed0ab850331ce6f0f931
# Parent  fe03337c8011c2899d1bdd528c34e74e6e7be475
Improve debug output in timerangestate

diff -r fe03337c8011 -r 233a1b04fb8a artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeTimerangeState.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeTimerangeState.java	Thu Aug 15 16:05:17 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeTimerangeState.java	Thu Aug 15 16:25:50 2013 +0200
@@ -67,7 +67,8 @@
             }
         }
 
-        logger.warn("Could not determine time range for gauge: " + gauge);
+        logger.warn("Could not determine time range for gauge: " + gauge.getName()
+                + " id: " + gauge.getId());
 
         return null;
     }


More information about the Dive4elements-commits mailing list