tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mufad...@wmotion.com>
Subject Problem adding access log valve.
Date Thu, 05 Feb 2004 22:06:37 GMT
Hi

I have the following in my server.xml

       <!-- Define the default virtual host -->
       <Host name="localhost" debug="0" appBase="webapps"
        unpackWARs="true" autoDeploy="true">

         <Logger className="org.apache.catalina.logger.FileLogger"
                  directory="logs"  prefix="localhost_log." suffix=".txt"
	        timestamp="true"/>

         <Logger className="org.apache.catalina.valves.AccessLogValve"
                  directory="logs/acesslogs"
                  pattern="%a %A %b %B %h %H %l %m %p %q %r %s %S %t %u 
%U %v"
                  prefix="access_log." suffix=".txt"
	        timestamp="true"/>

         <Context path="/mywebapp" docBase="mywebapp" debug="0"
                  reloadable="true" crossContext="true"/>

       </Host>

I added the AccessLogValve above and now Tomcat does not start? What 
did I do wrong?

Tomcat works fine if I remove the accessvalvelog i added above.

Thanks.


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


Mime
View raw message