tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Turning off local access log
Date Thu, 01 Sep 2011 13:32:20 GMT
On 01/09/2011 14:10, David kerber wrote:
> Will removing this valve from my server.xml stop access logging?  Right
> now it's trying to log every one of the 4M hits I get per day.
> 
>         <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs"
>                prefix="localhost_access_log." suffix=".txt"
>                pattern="%h %l %u %t &quot;%r&quot; %s %b" />
> 
> 
> Can I just comment it out?

Yes, but it is a bad idea unless you have access logging elsewhere.

Mark

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


Mime
View raw message