Review comment from kkolinko
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Nov 2010 17:51:19 +0000 (17:51 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Nov 2010 17:51:19 +0000 (17:51 +0000)
Make sure we initialize StandardEngine.accessLog

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1029767 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardEngine.java

index d2f8065..8eaac5c 100644 (file)
@@ -307,7 +307,7 @@ public class StandardEngine extends ContainerBase implements Engine {
 
         boolean logged = false;
         
-        if (accessLog != null) {
+        if (getAccessLog() != null) {
             accessLog.log(request, response, time);
             logged = true;
         }