Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52260 invoked from network); 21 Dec 2010 20:04:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 20:04:49 -0000 Received: (qmail 18666 invoked by uid 500); 21 Dec 2010 20:04:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18612 invoked by uid 500); 21 Dec 2010 20:04:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 18603 invoked by uid 99); 21 Dec 2010 20:04:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 20:04:42 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 20:04:35 +0000 Received: from [192.168.2.103] ([192.168.2.103]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id oBLK4Dld023566 for ; Tue, 21 Dec 2010 21:04:14 +0100 (CET) Message-ID: <4D11083C.6000703@kippdata.de> Date: Tue, 21 Dec 2010 21:04:12 +0100 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to put restrictions to mod_jk's log References: <4D101E6B.70705@jp.fujitsu.com> <4D110674.3050109@christopherschultz.net> In-Reply-To: <4D110674.3050109@christopherschultz.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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