Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 77522 invoked from network); 1 Apr 2005 17:33:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Apr 2005 17:33:19 -0000 Received: (qmail 78040 invoked by uid 500); 1 Apr 2005 17:33:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 77976 invoked by uid 500); 1 Apr 2005 17:33:16 -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 77962 invoked by uid 99); 1 Apr 2005 17:33:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lakermmtao08.cox.net (HELO lakermmtao08.cox.net) (68.230.240.31) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 09:33:15 -0800 Received: from [192.168.0.100] (really [68.100.13.69]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050401173312.EKIZ18351.lakermmtao08.cox.net@[192.168.0.100]> for ; Fri, 1 Apr 2005 12:33:12 -0500 Message-ID: <424D85D8.5020208@reverycodes.com> Date: Fri, 01 Apr 2005 12:33:12 -0500 From: Vadim Gritsenko User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: core logging References: <424AFC97.8080409@reverycodes.com> 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.apache.org 1.6.2 0/1000/N Jorg Heymans wrote: > > It would be nice to have an easy to trace logfile where one can > follow sequentially how a request is processed, what main components are > involved, when they are called, how they affect the response etc > (basically the things you can find out with a debugger). There is SimpleSitemapExecutor in 2.2 - probably that's what you want. > This would also make it easier for beginning cocooners to learn the core > cocoon concepts (sitemap,matchers,gen|tran|ser|act,flow,forms) and how > they play together. > > Can something like this be implemented with clever logging targets only? As far as I see in 2.1 messages such as: DEBUG (2005-04-01) 12:29.15:698 [sitemap] (/) PoolThread-4/PreparableMatchNode: Matcher 'wildcard' matched prepared pattern '' at file:/C:/Work/Apache/cocoon-2.1.X/build/webapp/sitemap.xmap:525:27 all go to [sitemap] target at DEBUG level - which makes filtering hard :-) Vadim