changeset 5521:bc140668db82

Morpho-Importer: small logging improvements
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 28 Mar 2013 18:49:48 +0100
parents d5e1e4d9559e
children eeac800eb4cd
files flys-backend/src/main/java/de/intevation/flys/importer/ImportMeasurementStation.java flys-backend/src/main/java/de/intevation/flys/importer/ImportSQRelationValue.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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;
             }
 

http://dive4elements.wald.intevation.org