tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Turning off local access log
Date Thu, 01 Sep 2011 16:04:53 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leo,

On 9/1/2011 11:49 AM, Leo Donahue - PLANDEVX wrote:
>> -----Original Message----- From: David kerber
>> [mailto:dckerber@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?

It will also not log requests that weren't directed to your app.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5frSUACgkQ9CaO5/Lv0PBdrQCgtqISbVtdWr8bbYe9csaa19QZ
93MAnAn1R0bgXxzjGi8OAMWwAhrFs4DE
=CfIE
-----END PGP SIGNATURE-----

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


Mime
View raw message