Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B9F06200C53 for ; Tue, 28 Mar 2017 00:21:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B87AC160B99; Mon, 27 Mar 2017 22:21:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 08A53160B85 for ; Tue, 28 Mar 2017 00:21:16 +0200 (CEST) Received: (qmail 43300 invoked by uid 500); 27 Mar 2017 22:21:16 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 43272 invoked by uid 99); 27 Mar 2017 22:21:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2017 22:21:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 56F66C058D for ; Mon, 27 Mar 2017 22:21:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1 X-Spam-Level: * X-Spam-Status: No, score=1 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Mc8i2unMWjDK for ; Mon, 27 Mar 2017 22:21:14 +0000 (UTC) Received: from fish.ish.com.au (202-161-115-54.static.tpgi.com.au [202.161.115.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3E0355F254 for ; Mon, 27 Mar 2017 22:21:12 +0000 (UTC) Received: from ip-136.ish.com.au ([203.29.62.136]:59766) by fish.ish.com.au with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1csd0S-0001w9-0h for dev@cayenne.apache.org; Tue, 28 Mar 2017 09:20:56 +1100 Subject: Re: Switching Cayenne to SLF4J To: dev@cayenne.apache.org References: From: Aristedes Maniatis Message-ID: <5cc624f6-e9d7-d4c0-f7b5-eb035966bdc5@maniatis.org> Date: Tue, 28 Mar 2017 09:20:55 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit archived-at: Mon, 27 Mar 2017 22:21:17 -0000 Having only ever used log4j since forever, can you point us to some articles or explain how a user would handle: * using log4j or other library * having other libraries in the classpath with different versions of slf4j Ari On 28/3/17 5:47am, Andrus Adamchik wrote: > We discussed this as far back as 2013: > > https://lists.apache.org/thread.html/5ccad102f7d9dc575bb5bd352462443bc9d8c2763aa15fbf4a0f757f@1366718807@%3Cdev.cayenne.apache.org%3E > > Now may be a good time to bring it up again. I suggest that in 4.0 we replace our commons-logging dependency with slf4j-api dependency. This should not make anything worse, but will make things slightly better from the integration perspective. SLF4J is probably the most commonly used "least common denominator" logging API these days, so Cayenne will be easier to setup in the majority of cases. > > So unless there are specific objections, we'll implement this change. > > Andrus > -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A