[PATCH 1 of 4] It's worth a warning

Wald Commits scm-commit at wald.intevation.org
Tue Dec 8 18:11:26 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1449586572 -3600
# Node ID 9530a00056dd03c6e4f1b5dc65166ccbbbc0476d
# Parent  85f36f9f1bd31138258e7a529f6ef9af3d609b0a
It's worth a warning.

diff -r 85f36f9f1bd3 -r 9530a00056dd artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedOverviewFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedOverviewFactory.java	Mon Dec 07 17:03:34 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedOverviewFactory.java	Tue Dec 08 15:56:12 2015 +0100
@@ -39,9 +39,7 @@
         Cache cache = CacheFactory.getCache(CACHE_NAME);
 
         if (cache == null) {
-            if (debug) {
-                log.debug("Cache not configured.");
-            }
+            log.warn("Cache not configured.");
             return getUncached(river);
         }
 
diff -r 85f36f9f1bd3 -r 9530a00056dd artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadOverviewFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadOverviewFactory.java	Mon Dec 07 17:03:34 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadOverviewFactory.java	Tue Dec 08 15:56:12 2015 +0100
@@ -39,9 +39,7 @@
         Cache cache = CacheFactory.getCache(CACHE_NAME);
 
         if (cache == null) {
-            if (debug) {
-                log.debug("Cache not configured.");
-            }
+            log.warn("Cache not configured.");
             return getUncached(river);
         }
 


More information about the Dive4Elements-commits mailing list