Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50715 invoked from network); 22 Jul 2004 00:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 00:29:25 -0000 Received: (qmail 67523 invoked by uid 500); 22 Jul 2004 00:29:21 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 67459 invoked by uid 500); 22 Jul 2004 00:29:20 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 67444 invoked by uid 99); 22 Jul 2004 00:29:20 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HEAD_ILLEGAL_CHARS X-Spam-Check-By: apache.org Received: from [217.160.230.41] (HELO mout.perfora.net) (217.160.230.41) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 21 Jul 2004 17:29:17 -0700 Received: from minotaur.apache.org[209.237.227.194] (helo=[127.0.0.1]) by mrelay.perfora.net with ESMTP (Nemesis), id 0MKz5u-1BnQkd3XFS-0002NZ; Wed, 21 Jul 2004 19:43:55 -0400 X-Provags-ID: perfora.net abuse@perfora.net 0�0�00i0d0�0�0�0�0B0�0e0�0�0�0� Message-ID: <40FEFFBA.6050009@reverycodes.com> Date: Wed, 21 Jul 2004 19:43:54 -0400 From: Vadim Gritsenko User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: JCS logging References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dave Brondsema wrote: >On Thu, 15 Jul 2004, Dave Brondsema wrote: > > >>We at Forrest are seeing more JCS log messages than we want. I tried >>setting up a log4j.properties file to control it, but that didn't seem to >>work. At any rate, it looks like they're using commons logging now, so >>according to >>http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108665505130942&w=2 it >>can be controlled with LogKit by cocoon. Could somebody do this? >> >> >> >Since nobody is eager to do this, could give me some guidance so I can do >it myself? What files would I have to edit? How does logkit work in >cocon? > If you declare system variable: org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger commons logging will use LogKit. See web.xml, force-property parameter. LogKit is set up by CocoonServlet. Hope this helps you, Vadim