From dev-return-106069-apmail-commons-dev-archive=commons.apache.org@commons.apache.org Mon Dec 31 09:02:35 2007 Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 50167 invoked from network); 31 Dec 2007 09:02:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2007 09:02:35 -0000 Received: (qmail 89954 invoked by uid 500); 31 Dec 2007 09:02:22 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 89847 invoked by uid 500); 31 Dec 2007 09:02:22 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 89826 invoked by uid 99); 31 Dec 2007 09:02:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 01:02:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.25.139.175] (HELO srv03.codedragons.com) (85.25.139.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 09:01:58 +0000 Received: from [202.146.77.122] (helo=f3.local) by srv03.codedragons.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1J9Gbx-00057B-7I; Mon, 31 Dec 2007 10:07:05 +0100 From: Niclas Hedhman To: dev@felix.apache.org Subject: Re: Support for OSGi Date: Mon, 31 Dec 2007 17:00:58 +0800 User-Agent: KMail/1.9.5 References: <47692CCB.7020608@apache.org> <200712311410.23188.niclas@hedhman.org> <06105DEC-EF65-4A8E-80BF-4CA904C0E494@toolazydogs.com> In-Reply-To: <06105DEC-EF65-4A8E-80BF-4CA904C0E494@toolazydogs.com> Cc: Jakarta Commons Developers List MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200712311700.58400.niclas@hedhman.org> X-Virus-Checked: Checked by ClamAV on apache.org On Monday 31 December 2007 14:57, Alan D. Cabrera wrote: > I'm sorry but I'm not completely following. =A0What problems does this =A0 > create? =A0How is it counter-productive. Commons-logging is not designed for a) OSGi environment with classes loaded and unloaded in runtime. b) Unifying Commons-logging, Log4J, SLF4J, Avalon Logging API, KF Log API,= =20 JDK Logging API and OSGi's own Log service API, to be routed to the=20 same logging backend. When we did the Pax Logging system, we addressed the above very seriously a= nd=20 have a solution that works, BUT it required us to high-jack the=20 commons-logging API namespace and interfaces (that goes for Log4J as well),= =20 and it is possible to crash Pax Logging by installing commons-logging=20 packages in parallel (unless the user remembers to do=20 a "provider=3Dpaxlogging;mandatory:=3Dprovider" in the ImportPackage). I have not checked the implementation details on commons-logging recently, = but=20 older versions have been one of the largest single cause of "wasted time" i= n=20 Java history, with its class caching and runtime "detection" of logging=20 system to use. I suspect that some of that has been corrected, but I likewi= se=20 suspect that it there are still many problems for the OSGi environment, whi= ch=20 will be hard to track/find for the average user. A quick look at LogFactory= ,=20 and I am pretty convinced that I my suspicion is accurate. Personally, I think the "Logging scene" is absurd... Cheers =2D-=20 Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org