tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: How to put restrictions to mod_jk's log
Date Tue, 21 Dec 2010 20:04:12 GMT
On 21.12.2010 20:56, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kikuchi,
>
> On 12/20/2010 10:26 PM, Yu Kikuchi wrote:
>> My Environment:
>>    Apache 2.2.11
>>    mod_jk 1.2.30
>>
>> When my system is highly-loaded, the messeges are printed in mod_jk.log.
>>
>> [mod_jk.log]
>> [Tue Dec 21 11:31:25.958 2010] [4744:3086915888] [warn] map_uri_to_worker_ext::jk_uri_worker_map.c
(962): Uri * is
>> invalid. Uri must start with /
>>
>> I don't want to print out the warning messages on mod_jk.log.
>> Would you tell me how to restrict them?
>
> If you use JkLogLevel, you'll have to set it to ERROR, which I wouldn't
> recommend: INFO is probably the best setting.

Seconded. But you can add rotatelogs to JkLogFile 8in the same way one 
does it for "Customlog"), which at least lets you compress and purge the 
files in regular intervals (after being rotated).

Regards,

Rainer

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


Mime
View raw message