Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A16B3984A for ; Thu, 8 Dec 2011 07:57:33 +0000 (UTC) Received: (qmail 93245 invoked by uid 500); 8 Dec 2011 07:57:32 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 93219 invoked by uid 500); 8 Dec 2011 07:57:31 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 93210 invoked by uid 99); 8 Dec 2011 07:57:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 07:57:29 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gnodet@gmail.com designates 209.85.210.177 as permitted sender) Received: from [209.85.210.177] (HELO mail-iy0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 07:57:25 +0000 Received: by iaby26 with SMTP id y26so3032397iab.22 for ; Wed, 07 Dec 2011 23:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xr37BIGOmAJWEfBx7NXoI4EyUuHexz9PLnhLNG63p00=; b=NwdHTEkBivxUYR/a5a5bjxTp37Tj0RagE69HiXm1HcZKgGjDIY4xJTFxMMIPxh11lU zrMGS5iuml6v3WFrXrC4pMfrOzX5l1Fj5OXst+m9D///j06LnM9AAUvoWgY0mP9dTC4d 8JyYr9M7ljhxqtd9xJVzd/xDZ/EVDGgRCn5gk= MIME-Version: 1.0 Received: by 10.42.172.70 with SMTP id m6mr2585463icz.37.1323331025242; Wed, 07 Dec 2011 23:57:05 -0800 (PST) Received: by 10.231.61.212 with HTTP; Wed, 7 Dec 2011 23:57:05 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Dec 2011 08:57:05 +0100 Message-ID: Subject: Re: Urgent - PAX -logging Vs Logback From: Guillaume Nodet To: users@felix.apache.org Cc: general@lists.ops4j.org Content-Type: text/plain; charset=ISO-8859-1 Actually, a logback backend for pax-logging has been contributed a few weeks ago, see [1]. This hasn't been released yet, but you should have no problems giving it a try anyway. [1] https://github.com/ops4j/org.ops4j.pax.logging/commit/8317bd6c00a62d350ae826f078e584b31cfb9a7b On Thu, Dec 8, 2011 at 07:38, Sam Spycher wrote: > Hi Matt > > You may want to check this thread on the karaf list: > > http://karaf.922171.n3.nabble.com/Running-Karaf-without-PAX-Logging-td3177504.html > > The gist of which is that opinions differ on pros and cons between pax > logging (with default backend log4j) and logback. Pax is more osgi-aware > and logback is simply the next generation of pax's backend log4j (same > developers) . > > So yes a pax implementation with logback would be great. The problem with > that seems mainly to lie with configadmin and configuration of log4j via a > properties file vs. configuration of logback via XML: in configadmin you > would be forced to set an entire logback XML config over one property, > whilst currently you can configure log4j settings individually. > > Hth, > Sam > > - > > Sent from my phone > On Dec 7, 2011 9:47 PM, "Toni Menzel" wrote: > >> For starters, LogBack is a Logging implementation, right ? >> Pax Logging is a capture-all logging service for all major interfaces and >> does provide a minimalistic implementation. But you want to use Pax Logging >> + Logback in an OSGi scenario. Thats at least what i know of Logback. >> Most of that knowledge i pull from times where log4j was hot. So i might be >> wrong if log back might actually replace pax logging in some ways. That i >> don't know. >> >> @Matt, you are sure cross posting this on felix, aries and ops4j ? >> >> cheers, Toni >> >> On Wed, Dec 7, 2011 at 8:41 PM, Matt Madhavan > >wrote: >> >> > Hello, >> > I would like to know the Pros and cons of PaxLogging vs Logback. I have >> > used PaxLogging a lot but the my client's Enterprise team (different >> team) >> > that sets directions, would like to use Logback. >> > >> > Can someone let me know what are the pros and cons between the two and >> > especially in the OSGi world? >> > >> > Thanks in advance! >> > >> > Matt >> > >> >> >> >> -- >> Toni Menzel Source >> -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org