On 9/1/2011 11:49 AM, Leo Donahue - PLANDEVX wrote:
-----Original Message-----
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Turning off local access log

On 9/1/2011 9:32 AM, Mark Thomas wrote:
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

Logging is handled by the app; I don't need this from Tomcat.


Yes, but does your app log intentionally mal-formed requests?

Yes, it logs all requests that don't pass its integrity checks.


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

Reply via email to