[Yanel-commits] rev 60647 - public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet

michi at wyona.com michi at wyona.com
Tue Sep 13 09:28:30 CEST 2011


Author: michi
Date: 2011-09-13 09:28:30 +0200 (Tue, 13 Sep 2011)
New Revision: 60647

Modified:
   public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
logging and javadoc improved

Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java	2011-09-13 07:14:08 UTC (rev 60646)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java	2011-09-13 07:28:30 UTC (rev 60647)
@@ -2900,14 +2900,14 @@
     }
 
     /**
-     * Determine requested view ID
+     * Determine requested view ID (try to get it from session or query string)
      */
     private String getViewID(HttpServletRequest request) {
         String viewId = null;
 
         String viewIdFromSession = (String) request.getSession(true).getAttribute(VIEW_ID_PARAM_NAME);
         if (viewIdFromSession != null) {
-            log.warn("It seems like the view id is set inside session: " + viewIdFromSession);
+            //log.debug("It seems like the view id is set inside session: " + viewIdFromSession);
             viewId = viewIdFromSession;
         }
 
@@ -2920,7 +2920,7 @@
             log.warn("For backwards compatibility reasons also consider parameter 'yanel.format', but which is deprecated. Please use '" + VIEW_ID_PARAM_NAME + "' instead.");
         }
 
-        log.warn("DEBUG: Try to get view id from query string or session attribute: " + viewId);
+        //log.debug("Tried to get view id from query string or session attribute: " + viewId);
 
         return viewId;
     }



More information about the Yanel-commits mailing list