Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 59391 invoked from network); 15 Feb 2006 19:28:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 19:28:42 -0000 Received: (qmail 38702 invoked by uid 500); 15 Feb 2006 19:28:39 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 38632 invoked by uid 500); 15 Feb 2006 19:28:38 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 38621 invoked by uid 99); 15 Feb 2006 19:28:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 11:28:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [62.2.95.247] (HELO smtp.hispeed.ch) (62.2.95.247) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 11:28:36 -0800 Received: from pati.ch (80-219-16-137.dclient.hispeed.ch [80.219.16.137]) by smtp.hispeed.ch (8.12.6/8.12.6/taifun-1.0) with ESMTP id k1FJSDWQ006914 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Wed, 15 Feb 2006 20:28:13 +0100 Received: (qmail 20053 invoked from network); 15 Feb 2006 20:28:13 +0100 Received: from 10.20.30.1 by simba (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88/1289. perlscan: 1.25st. Clear:RC:1(10.20.30.1):. Processed in 0.03069 secs); 15 Feb 2006 19:28:13 -0000 Received: from simba.pati.ch (HELO localhost) (10.20.30.1) by simba.pati.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Feb 2006 20:28:13 +0100 Date: Wed, 15 Feb 2006 20:28:05 +0100 (CET) From: Giacomo Pati Sender: giacomo@lapgp.otego.com To: dev@cocoon.apache.org Subject: Re: Logkit (I know, again) was [RT] Using Spring instead of ECM++ In-Reply-To: <43F32A8C.2060402@apache.org> Message-ID: References: <43E8F7FF.4070304@apache.org> <43E9CB85.9020605@mobilebox.pl> <43ECB985.7060500@reverycodes.com> <43ECDDC9.8070909@apache.org> <43ECE244.2040109@apache.org> <43F083FD.3040908@apache.org> <43F0A0CE.5040903@dslextreme.com> <43F0A6F4.3070703@apache.org> <1e920a4432a17f4ea24730a.20060213104314.enycu.tbref@www.dslextreme.com> <43F0D8D3.20607@apache.org> <1e100a4310a178f0a23d80a.20060213131637.enycu.tbref@www.dslextreme.com> <43F32A8C.2060402@apache.org> X-GPG-FINGRPRINT: 9E66 40E0 0A9C B37F E29E 5816 2CD7 49BD 98E3 5590 X-GPG-PUBLIC_KEY: http://pks.gpg.cz:11371/pks/lookup?op=get&search=0x2CD749BD98E35590 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on smtp-07.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-07.tornado.cablecom.ch 32701; Body=1 Fuz1=1 Fuz2=1 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 15 Feb 2006, Carsten Ziegeler wrote: > Date: Wed, 15 Feb 2006 14:20:12 +0100 > From: Carsten Ziegeler > Reply-To: dev@cocoon.apache.org > To: dev@cocoon.apache.org > Subject: Re: Logkit (I know, again) was [RT] Using Spring instead of ECM++ > > Ralph Goers wrote: >> If that is the case then I'm -1 on this. We use our own logging framework >> with Cocoon. > I knew this would happen :) Ok, anyway, I would like to get rid off > excalibur > logging and logkit. Which means, we only use the o.a.a.logging.Logger > abstraction which is passed to a component through LogEnabled. And we > configure a Log4J logger by default for this abstraction. > > Now, with Spring I would suggest the following approach: > Cocoon uses an own application context which can be compared (by > simplifying) with a service manager. So we have an application context > for the core of Cocoon (again simplified). Now you can define a root > Spring application context using the usual Spring context listener and > this one (if present) will be the parent context of our Cocoon core context. > If you define your own logger bean in this spring application context, > Cocoon will use that logger instead. If the spring app context is > missing or does not define a logger bean we will define a log4j logger > in the core application context. So it would be possible to use your own > logging abstraction while Cocoon does nearly nothing to support it. This is meant for traditional Avalon Components implementing LogEnabled, right? Anyway here's my +1 for it. - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD84DLLNdJvZjjVZARAjIqAKDmSaZJp+Ulj5r5edAbe7dNDot/HQCgoztp nC3wMxOtnN103AF7Wju6Dgc= =HhsQ -----END PGP SIGNATURE-----