tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to put restrictions to mod_jk's log
Date Tue, 21 Dec 2010 19:56:36 GMT
-----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.

> PS.
> 
> I assume the messages are caused by Internal Dummy Connection of Apache by reading access_log.
> 
> [access_log]
> ::1 - - [21/Dec/2010:11:31:25 +0900] "OPTIONS * HTTP/1.0" 200 -

Maybe you should make sure that requests to "*" don't get sent to
mod_jk. Maybe something like this:

JkUnmount *

What do your existing JkMount statements look like?

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

iEYEARECAAYFAk0RBnMACgkQ9CaO5/Lv0PBQXgCgokD0S9r0DYzrwQ1+/QJHZRUk
khIAniRvbhdtcSgcgWsU3fy3SEbC83PR
=tzHf
-----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