geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1027386 - /geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java
Date Tue, 26 Oct 2010 06:57:29 GMT
Author: genspring
Date: Tue Oct 26 06:57:29 2010
New Revision: 1027386

URL: http://svn.apache.org/viewvc?rev=1027386&view=rev
Log:
Output log of page redirect to debug.

Modified:
    geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java

Modified: geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java?rev=1027386&r1=1027385&r2=1027386&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java
(original)
+++ geronimo/server/branches/2.2/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/filter/RedirectByHashFilter.java
Tue Oct 26 06:57:29 2010
@@ -85,7 +85,7 @@ public class RedirectByHashFilter implem
                     hash = redirectURLToHash.get(currentRequestURI);     
             }
             
-            log.info("Hash value for page:"+currentRequestURI+" is:"+hash);
+            log.debug("Hash value for page:"+currentRequestURI+" is:"+hash);
             
             //this attribute will be used to add hash to index page.
             request.setAttribute(HASH_OF_CURRENT_PORTAL_PAGE,hash);
@@ -103,7 +103,7 @@ public class RedirectByHashFilter implem
             //log.info("Redirecting to:" + pageToRedirect+" according to hash:"+hashOfPageToRedirect);
             
            // pageToRedirect=pageToRedirect.substring("/console".length());
-            log.info("Redirecting to:" + pageToRedirect+" according to hash:"+hashOfPageToRedirect);
+            log.debug("Redirecting to:" + pageToRedirect+" according to hash:"+hashOfPageToRedirect);
            // request.getParameterMap().remove(NOXSS_HASH_OF_PAGE_TO_REDIRECT);
             request.getRequestDispatcher(pageToRedirect).forward(request, response);
             
@@ -112,7 +112,7 @@ public class RedirectByHashFilter implem
             
         } else {
             
-            log.info("no redirect for:" + ((HttpServletRequest)request).getRequestURL());
+            log.debug("no redirect for:" + ((HttpServletRequest)request).getRequestURL());
             filterChain.doFilter(request, response);
         }    
 



Mime
View raw message