changeset 8781:9530a00056dd

It's worth a warning.
author Tom Gottfried <tom@intevation.de>
date Tue, 08 Dec 2015 15:56:12 +0100
parents 85f36f9f1bd3
children 4289930e276c
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedOverviewFactory.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadOverviewFactory.java
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }
 
--- 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);
         }
 

http://dive4elements.wald.intevation.org