incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r995050 - /sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
Date Wed, 08 Sep 2010 13:30:45 GMT
Author: fmeschbe
Date: Wed Sep  8 13:30:44 2010
New Revision: 995050

URL: http://svn.apache.org/viewvc?rev=995050&view=rev
Log:
Improve request progress tracker logging of filter types to call

Modified:
    sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java

Modified: sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java?rev=995050&r1=995049&r2=995050&view=diff
==============================================================================
--- sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
(original)
+++ sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
Wed Sep  8 13:30:44 2010
@@ -148,7 +148,7 @@ public class SlingRequestProcessorImpl i
                     filters);
 
                 request.getRequestProgressTracker().log(
-                    "Applying request filters");
+                    "Applying " + FilterChainType.REQUEST + "filters");
 
                 processor.doFilter(request, response);
 
@@ -245,7 +245,8 @@ public class SlingRequestProcessorImpl i
         if (filters != null) {
 
             FilterChain processor = new SlingComponentFilterChain(filters);
-            request.getRequestProgressTracker().log("Applying inner filters");
+            request.getRequestProgressTracker().log(
+                "Applying " + filterChainType + "filters");
             processor.doFilter(request, response);
 
         } else {
@@ -307,7 +308,8 @@ public class SlingRequestProcessorImpl i
                     errorHandler.handleError(status, message, request, response);
                 }
             };
-            request.getRequestProgressTracker().log("Applying error filters");
+            request.getRequestProgressTracker().log(
+                "Applying " + FilterChainType.ERROR + " filters");
 
             try {
                 processor.doFilter(request, response);
@@ -333,7 +335,8 @@ public class SlingRequestProcessorImpl i
                     errorHandler.handleError(throwable, request, response);
                 }
             };
-            request.getRequestProgressTracker().log("Applying error filters");
+            request.getRequestProgressTracker().log(
+                "Applying " + FilterChainType.ERROR + " filters");
 
             try {
                 processor.doFilter(request, response);



Mime
View raw message