Fix TCK failure
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 12 May 2010 20:03:40 +0000 (20:03 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 12 May 2010 20:03:40 +0000 (20:03 +0000)
Restore initialisation of logger that was triggering an NPE

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

java/org/apache/catalina/valves/ValveBase.java

index de6455e..64c0b11 100644 (file)
@@ -218,6 +218,14 @@ public abstract class ValveBase extends LifecycleMBeanBase
     }
 
 
+    @Override
+    protected void initInternal() throws LifecycleException {
+        super.initInternal();
+        
+        containerLog = getContainer().getLogger();
+    }
+    
+    
     /**
      * Start this component and implement the requirements
      * of {@link LifecycleBase#startInternal()}.