[Dive4elements-commits] [PATCH] Morpho-Importer: small logging improvements

Wald Commits scm-commit at wald.intevation.org
Thu Mar 28 18:49:51 CET 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1364492988 -3600
# Node ID bc140668db8202df25c996dc602de96d64cf4d9a
# Parent  d5e1e4d9559e87966039f630fac2c456adf20f06
Morpho-Importer: small logging improvements

diff -r d5e1e4d9559e -r bc140668db82 flys-backend/src/main/java/de/intevation/flys/importer/ImportMeasurementStation.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportMeasurementStation.java	Thu Mar 28 17:42:00 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportMeasurementStation.java	Thu Mar 28 18:49:48 2013 +0100
@@ -71,7 +71,7 @@
             }
 
             if (range == null) {
-                log.warn("No range found for measurement station'" + name + "'");
+                log.warn("No range found for measurement station '" + name + "'");
             }
 
             TimeInterval observationTimerange = this.observationTimerange
diff -r d5e1e4d9559e -r bc140668db82 flys-backend/src/main/java/de/intevation/flys/importer/ImportSQRelationValue.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportSQRelationValue.java	Thu Mar 28 17:42:00 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportSQRelationValue.java	Thu Mar 28 18:49:48 2013 +0100
@@ -80,7 +80,7 @@
             List<MeasurementStation> result = query.list();
 
             if (result.isEmpty()) {
-                log.error("No measurement stations found.");
+                log.error("No measurement stations found at km " + km);
                 return null;
             }
 


More information about the Dive4elements-commits mailing list