Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 2274 invoked from network); 20 Jun 2009 02:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jun 2009 02:14:29 -0000 Received: (qmail 9581 invoked by uid 500); 20 Jun 2009 02:14:39 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 9474 invoked by uid 500); 20 Jun 2009 02:14:39 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 9464 invoked by uid 99); 20 Jun 2009 02:14:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 02:14:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of donald.brown@gmail.com designates 74.125.46.152 as permitted sender) Received: from [74.125.46.152] (HELO yw-out-1718.google.com) (74.125.46.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2009 02:14:30 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1014244ywr.60 for ; Fri, 19 Jun 2009 19:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SW1jmHu23omCJiHURc9Fsaz6NMyA/83NXHsjLWje46c=; b=daDSt6xzuaRub5HTKJmhMKU84365gJsTflk3NKcra+00BH/YGaXNMxmrrhW97Ft61A 47cJzqfK1dhsGRtW1I+HqHhWv4ycOXY0CGuCgXbJF5c0V2KSth3KzZ7DHvUiMs3KT0RN OBSCa5Mr2AEHVce3fSh4B81VDIrqOvLOsS0cI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Gydt63/8zvgQkJ/jESBFVCUTjvCTI9aRelLodNRwuKnkZmUfjhWgYxjftW8hlGCp0z 3qyMP9EaCmGX1fYzo2dgWrSy6/ttcJ2MO09Eis1Am2pDuI0B2WnIFh7fQKpfhMB+aEy7 UtW/GbqY5GMsrx6J9CNLtFXGCUbtdASwIqa2o= MIME-Version: 1.0 Received: by 10.90.84.2 with SMTP id h2mr2694529agb.63.1245464049223; Fri, 19 Jun 2009 19:14:09 -0700 (PDT) In-Reply-To: <4A3B5151.2050401@apache.org> References: <4887485D-6ACE-4FB1-A124-E57224F35393@dslextreme.com> <6c59d89a0904150151j41586f34v984d50d633ac0f59@mail.gmail.com> <162C16B6-A28C-4460-982E-57D36F2B7280@dslextreme.com> <4A259009.2010503@apache.org> <4A3A24F2.3020605@apache.org> <1c661f2f0906190101k54d71199h7de810dbdfaaa0f2@mail.gmail.com> <4A3B4AAA.1000101@apache.org> <1c661f2f0906190130q136b8b7h611af4caa3b42b2b@mail.gmail.com> <4A3B5151.2050401@apache.org> Date: Sat, 20 Jun 2009 12:14:09 +1000 Message-ID: <1c661f2f0906191914v78cc3394na287f7a248114006@mail.gmail.com> Subject: Re: [Configuration] experimental branch uses java.util.logging? From: Don Brown To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jun 19, 2009 at 6:50 PM, Emmanuel Bourg wrote: > Don Brown a =E9crit : >> >> Sure, but that's kinda my point - many webapps, ours (Atlassian) in >> particular, cannot assume a specific application server. =A0Our apps >> must be able to be dropped into any app server, with any other >> webapps, and still be expected to play nicely. =A0Even inserting a root >> logger that filters for packages don't help, as another app could be >> using the same library. =A0Again, all other serious logging libraries >> support this, what I would label, basic feature. =A0Even commons >> logging, with all its flaws, allows us to reimplement their API's (in >> an OSGi environment) to handle the logging, but since JUL is a java.* >> package, we're stuck. > > I wouldn't be surprised if all other application server had the same > mechanism implemented by Tomcat. Ensuring webapps isolation is a basic > feature for the servers. That's definitely worth checking though. They don't, AFAICT. Even if they did, it doesn't really help for us using OSGi. With Log4j, we control the instances of the Log4j classes, and therefore, are able to properly configure logging across multiple classloaders (bundles) that don't inherit from the web app classloader. Since JUL is in java.*, we have no way to cleanly (or any other way) configure logging for one webapp and its classloaders (via an embedded OSGi container, in our case). Don > > Emmanuel Bourg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org