Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FA339CF5 for ; Wed, 1 Feb 2012 13:35:42 +0000 (UTC) Received: (qmail 82976 invoked by uid 500); 1 Feb 2012 13:35:42 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 82877 invoked by uid 500); 1 Feb 2012 13:35:41 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 82869 invoked by uid 99); 1 Feb 2012 13:35:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:35:41 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cschneider111@googlemail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bk0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:35:34 +0000 Received: by bkbzu5 with SMTP id zu5so1343392bkb.23 for ; Wed, 01 Feb 2012 05:35:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=yqGC9xM/pm+9E2YpKr5jQ2G/o3x5Z17yA2aj/5no9tI=; b=xAXIMr5p27NUBYGo14gdh7rGucHD3rINn1MZ34TGXtMj+TEoSFJlpw3qV/SEn7zclH es0lNK7XcPkazM5+e53obt9mCnbh7dwf/iGn+CtYg+LPwAGBwZ0e9VMDtJjdxf0Aad0R DlU7DWMINWq9XrSHifSkMfML5PJ+upkeh6hj0= Received: by 10.204.152.206 with SMTP id h14mr12612855bkw.62.1328103314308; Wed, 01 Feb 2012 05:35:14 -0800 (PST) Received: from [10.0.0.103] (HSI-KBW-46-223-138-180.hsi.kabel-badenwuerttemberg.de. [46.223.138.180]) by mx.google.com with ESMTPS id x20sm39418535bka.9.2012.02.01.05.35.12 (version=SSLv3 cipher=OTHER); Wed, 01 Feb 2012 05:35:13 -0800 (PST) Sender: Christian Schneider Message-ID: <4F293F8D.2040305@die-schneider.net> Date: Wed, 01 Feb 2012 14:35:09 +0100 From: Christian Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: dev@aries.apache.org Subject: Re: [DISCUSS] Logging for Aries modules References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org In Camel we recently changed to slf4j. Exactly because it has minimal dependencies and allows easy switching of the log impl ... and of course it works great in OSGi. So why not use slf4j as the only frontend in aries. CXF has its own little logging abstraction that can then switch between impls but I think slf4j does that much better. Christian Am 01.02.2012 12:05, schrieb Graham Charters: > Guillaume's starter.... > > "Can't we simply do something in aries until that would be shared by > all aries modules (since they kinda all depend on it already) ? > A very small api that could be configured to either use slf4j, jul or > osgi logging ? Using optional imports, it should limit to what's > available and default to a good one, falling back to jul if nothing" > > > ---------- Forwarded message ---------- > From: Guillaume Nodet > Date: 1 February 2012 10:46 > Subject: Re: Aries JNDI dependencies > To: dev@aries.apache.org > > > Can't we simply do something in aries until that would be shared by > all aries modules (since they kinda all depend on it already) ? > A very small api that could be configured to either use slf4j, jul or > osgi logging ? Using optional imports, it should limit to what's > available and default to a good one, falling back to jul if nothing > else. > > On Wed, Feb 1, 2012 at 11:26, David Bosschaert > wrote: >> Hi all, >> >> On 1 February 2012 09:58, Graham Charters wrote: >>> Hi David, >>> >>> Prior to these changes, Apache Aries had the ability to filter logging >>> per class, and this was consistent across all Aries modules. >> Well apparently not because the Aries JMX component used the >> LogService already... >> >>> I don't >>> think we should be doing piecemeal infrastructure dependency changes >>> like these without a proper consideration. >> Well, you can see at the beginning of this thread (Jan 16) that I'm >> asking for opinions re removing to the LogService and that the >> responses where positive... >> >>> Although nobody really wants to have a logging conversation, I don't >>> think we can avoid one, and until then, I think we need to go back to >>> the consistent approach that, until now, Aries consumers seemed happy >>> with. >> ... sigh ... ok we'll have a logging discussion and I'll revert those >> changes for the moment. >> >> @David J: we can explore the capabilities of the log service in that discussion. >> >> Best regards, >> >> David > > > -- > ------------------------ > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > FuseSource, Integration everywhere > http://fusesource.com -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com