You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David kerber <dc...@verizon.net> on 2011/09/01 15:10:48 UTC
Turning off local access log
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 "%r" %s %b" />
Can I just comment it out?
D
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Turning off local access log
Posted by Leo Donahue - PLANDEVX <Le...@mail.maricopa.gov>.
>-----Original Message-----
>From: Christopher Schultz [mailto:chris@christopherschultz.net]
>Subject: Re: Turning off local access log
>Leo,
>
>It will also not log requests that weren't directed to your app.
>
>- -chris
Better said. That is what I was trying to get at.
Re: Turning off local access log
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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"%r" %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
Re: Turning off local access log
Posted by David kerber <dc...@verizon.net>.
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"%r" %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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Turning off local access log
Posted by Leo Donahue - PLANDEVX <Le...@mail.maricopa.gov>.
>-----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"%r" %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?
-Leo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Turning off local access log
Posted by David kerber <dc...@verizon.net>.
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"%r" %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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Turning off local access log
Posted by Mark Thomas <ma...@apache.org>.
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 "%r" %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