You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2007/04/24 04:18:39 UTC
svn commit: r531680 -
/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java
Author: markt
Date: Mon Apr 23 19:18:38 2007
New Revision: 531680
URL: http://svn.apache.org/viewvc?view=rev&rev=531680
Log:
Use the context logger for logging which fixes performance issues with the previous patch.
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java
Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java?view=diff&rev=531680&r1=531679&r2=531680
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java Mon Apr 23 19:18:38 2007
@@ -48,7 +48,6 @@
import org.apache.catalina.util.InstanceSupport;
import org.apache.catalina.util.StringManager;
import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
/**
* Standard implementation of <code>RequestDispatcher</code> that allows a
@@ -168,11 +167,10 @@
super();
- log = LogFactory.getLog(ApplicationDispatcher.class);
-
// Save all of our configuration parameters
this.wrapper = wrapper;
this.context = (Context) wrapper.getParent();
+ log = context.getLogger();
this.requestURI = requestURI;
this.servletPath = servletPath;
this.pathInfo = pathInfo;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org