Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D5EA108FF for ; Tue, 3 Dec 2013 17:36:13 +0000 (UTC) Received: (qmail 41676 invoked by uid 500); 3 Dec 2013 17:36:13 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 41413 invoked by uid 500); 3 Dec 2013 17:36:12 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 41405 invoked by uid 99); 3 Dec 2013 17:36:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 17:36:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Dec 2013 17:36:06 +0000 Received: (qmail 10388 invoked from network); 3 Dec 2013 17:44:47 -0000 Received: from unknown (HELO ?192.168.2.106?) (212.98.191.4) by vorsha.objectstyle.org with SMTP; 3 Dec 2013 17:44:47 -0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: cayenne library changes log level in struts2 From: Andrus Adamchik In-Reply-To: <454A7C66-1D8A-4F1C-9E24-21EB55EFE43E@gmail.com> Date: Tue, 3 Dec 2013 20:35:43 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87B7E069-4E4A-4D45-BDC0-B1B5FA753756@gmail.com> <856BD870-2E11-4A12-8FF5-06C4200CAD1E@objectstyle.org> <047CCB6E-A97C-40EE-AE83-FA72B5434D9F@gmail.com> <1977D58A-8A5E-4640-94AC-0A68AEDD66F6@objectstyle.org> <454A7C66-1D8A-4F1C-9E24-21EB55EFE43E@gmail.com> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1822) X-Virus-Checked: Checked by ClamAV on apache.org Hah, I read this when I was typing something along the lines of =93we = need a JSR to address this..=94 :) On Dec 3, 2013, at 8:20 PM, Christian Grobmeier = wrote: > On 3 Dec 2013, at 16:14, Mike Kienenberger wrote: >=20 >> On Tue, Dec 3, 2013 at 10:01 AM, Andrus Adamchik = wrote: >>> Ideally I=92d love to have zero dependency on a third-party logging = framework. So that probably means using j.u.l and let the users bridge = that as they want. Wonder if we=92ll make everyone=92s life miserable as = a result? >>=20 >> No, we made that horrible mistake of going with j.u.l at MyFaces a >> while back based in part on my lobbying for it. It is a disaster to >> end-users to have j.u.l as the default logging system. There's no >> way to bridge from j.u.l back to something else without huge >> performance hits, so you lose any control over what logging system >> your end-users can use. It's very difficult to get it to read >> configuration information from a file. It has horrible two-line >> logging output by default, which is again difficult to change. At >> least under weblogic app servers, you cannot identify which >> applications are generating which log messages, and I'm pretty sure >> that this is true in general for it. >>=20 >> Really, there's nothing good you can say about it other than it might >> save you the 721K commons logging dependency. >=20 > I agree here. Jul is painfully broken and doesn't work well with = others. > Even bridging from $x to Jul is painful. >=20 > However I am currently preparing to put some effort into a new Logging = JSR: > https://java.net/projects/newlogging > So far I didn't haven the time yet, but I plan to push this around = xmas. >=20 > Imagine a logging proxy like slf4j or log4j2 in the JDK. Not = implementation like > JUL, just the interfaces. This is the goal. Unfortunately this will be = a tough road > and if it ever happens is not sure. >=20 >=20 >=20 >=20 >=20 > --- > http://www.grobmeier.de > @grobmeier > GPG: 0xA5CC90DB >=20