tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1029767 - /tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java
Date Mon, 01 Nov 2010 17:51:20 GMT
Author: markt
Date: Mon Nov  1 17:51:19 2010
New Revision: 1029767

URL: http://svn.apache.org/viewvc?rev=1029767&view=rev
Log:
Review comment from kkolinko
Make sure we initialize StandardEngine.accessLog

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java?rev=1029767&r1=1029766&r2=1029767&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java Mon Nov  1 17:51:19 2010
@@ -307,7 +307,7 @@ public class StandardEngine extends Cont
 
         boolean logged = false;
         
-        if (accessLog != null) {
+        if (getAccessLog() != null) {
             accessLog.log(request, response, time);
             logged = true;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message