changeset 2429:c837669643ac

Print debug messages for zoom values in ChartOutputServiceIMpl. flys-client/trunk@4071 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Feb 2012 09:25:10 +0000
parents f405eb46762e
children ea6065c2dabe
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Feb 16 12:39:11 2012 +0000
+++ b/flys-client/ChangeLog	Fri Feb 17 09:25:10 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-17  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java:
+	  Print debug messages for zoom values.
+
 2012-02-16  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Refactored the wq input data fields.
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java	Thu Feb 16 12:39:11 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java	Fri Feb 17 09:25:10 2012 +0000
@@ -79,6 +79,14 @@
         attr.put("maxy", req.getParameter("maxy"));
         attr.put("format", req.getParameter("format"));
 
+        if (logger.isDebugEnabled()) {
+            logger.debug("====== ZOOM VALUES =======");
+            logger.debug("  min x: " + req.getParameter("minx"));
+            logger.debug("  max x: " + req.getParameter("maxx"));
+            logger.debug("  min y: " + req.getParameter("miny"));
+            logger.debug("  max y: " + req.getParameter("maxy"));
+        }
+
         return attr;
     }
 

http://dive4elements.wald.intevation.org