changeset 4708:45d05402b2a6

Importer: Emit log message when a dry run was run.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 19 Dec 2012 11:40:19 +0100
parents 2b0426b79a92
children e50d78334246
files flys-backend/src/main/java/de/intevation/flys/importer/Importer.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java	Wed Dec 19 11:39:46 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java	Wed Dec 19 11:40:19 2012 +0100
@@ -145,6 +145,9 @@
         if (!Config.INSTANCE.dryRun()) {
             new Importer(infoGewParser.getRivers()).writeToDatabase();
         }
+        else {
+            log.info("Dry run, not writing to database.");
+        }
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org