diff src/org/eclipse/jetty/server/handler/RequestLogHandler.java @ 991:688c39c50ee3

simplify ContextHandler
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 18 Oct 2016 00:22:46 -0600
parents a088981f9cd4
children 7d28be82ab75
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/RequestLogHandler.java	Mon Oct 17 05:50:47 2016 -0600
+++ b/src/org/eclipse/jetty/server/handler/RequestLogHandler.java	Tue Oct 18 00:22:46 2016 -0600
@@ -29,7 +29,6 @@
 import java.util.Locale;
 import java.util.TimeZone;
 
-import javax.servlet.DispatcherType;
 import javax.servlet.ServletException;
 import javax.servlet.http.Cookie;
 import javax.servlet.http.HttpServletRequest;
@@ -70,10 +69,7 @@
 		}
 		finally
 		{
-			if (baseRequest.getDispatcherType().equals(DispatcherType.REQUEST))
-			{
-				log(baseRequest, (Response)response);
-			}
+			log(baseRequest, (Response)response);
 		}
 	}