Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 31901 invoked from network); 12 Oct 2005 22:38:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2005 22:38:49 -0000 Received: (qmail 44047 invoked by uid 500); 12 Oct 2005 22:38:48 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 43925 invoked by uid 500); 12 Oct 2005 22:38:48 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 43889 invoked by uid 99); 12 Oct 2005 22:38:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 15:38:47 -0700 Received-SPF: neutral (asf.osuosl.org: 64.39.31.158 is neither permitted nor denied by domain of nickfaiz@gmail.com) Received: from [64.39.31.158] (HELO zeus.atlassian.com) (64.39.31.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 15:38:49 -0700 Received: from [192.168.1.100] (CPE-60-225-25-74.nsw.bigpond.net.au [60.225.25.74]) (authenticated) by zeus.atlassian.com (8.11.6/8.11.6) with ESMTP id j9CMhUE02581 for ; Wed, 12 Oct 2005 17:43:30 -0500 Mime-Version: 1.0 (Apple Message framework v733) In-Reply-To: <32609e770510121234i14b9d05ds65816a8c2f9f9557@mail.gmail.com> References: <1129068125.13190.51.camel@wkslx01.iktek.com> <390FF7AA-AB42-4AB2-9FAC-671D40EBEBB1@atlassian.com> <32609e770510121234i14b9d05ds65816a8c2f9f9557@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-1-525795990 Message-Id: From: Nick Faiz Subject: Re: upgrading to nlog4j.1.2.17 Date: Thu, 13 Oct 2005 08:40:51 +1000 To: "Apache Directory Developers List" X-Mailer: Apple Mail (2.733) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-1-525795990 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Jerome, Yes, in standalone mode it isn't an issue. For embedded, you could switch your underlying implementation if =20 needed. It would, however, be against the very purpose of the SLF4J =20 facade to adopt a secondary logging frameworking by switching to a =20 slf4j alternative logger because your logging library of choice was =20 log4j! Also, it introduces some policing to ensure that nlog4j and log4j are =20= not on the same classpath. It's another factor which could be gotten =20 wrong. As Emmanuel said in reply to your email, Ceki is thinking on this =20 right now. Cheers, Nick On 13/10/2005, at 5:34 AM, J=E9r=F4me Baumgarten wrote: > Hi guys, > > On 10/12/05, Nick Faiz wrote: > > > > > Okay. I understand that it might seem like a noisy chat about SLF4J, > not ApacheDS. > > My motive is simple. I am only concerned about logging for ApacheDS. > It has become an ApacheDS issue. > > > - third, I think that Ceki did a lot of good job, he also really > > helped > > us, and I don't want him to think that we think that log4j is a > > pile of > > bok... > > > > Agreed. > > > Cheers, > Nick > > > > If you go for SLF4J, wouldn't that resolve your problem. For =20 > running in a standalone more, you then can choose whatever SLF4J =20 > version you want, the one using Simple-Log or nlog4j. Using =20 > ApacheDS embedded in another application, you can also choose the =20 > most appropriate SLF4J version. If you may get into troubles =20 > because of log4j then you go for the Simple-Log based SLF4J. This =20 > could easily be resolved by externalizing the logging jar. > > J=E9r=F4me --Apple-Mail-1-525795990 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Jerome,

Yes, in standalone mode it = isn't an issue.=A0

For embedded, you could = switch your underlying implementation if needed. It would, however, be = against the very purpose of the SLF4J facade to adopt a secondary = logging frameworking by switching to a slf4j alternative logger because = your logging library of choice was log4j!

Also, it introduces some = policing to ensure that nlog4j and log4j are not on the same classpath. = It's another factor which could be gotten wrong.

As Emmanuel said in reply = to your email, Ceki is thinking on this right now.

Cheers,
Nick=A0



On = 13/10/2005, at 5:34 AM, J=E9r=F4me Baumgarten wrote:

Hi = guys,

On 10/12/05, Nick Faiz <nick@atlassian.com> = wrote:


=A0<snip />

Okay. I understand = that it might seem like a noisy chat about SLF4J,
not = ApacheDS.

My motive is simple. I am only concerned about logging = for ApacheDS.
It has become an ApacheDS issue.

>=A0=A0- = third, I think that Ceki did a lot of good job, he also really
> = helped
> us, and I don't want him to think that we think that = log4j is a
> pile of
> = bok...
>

Agreed.


Cheers,
Nick
=
=A0

If you go for SLF4J, wouldn't that resolve your = problem. For running in a standalone more, you then can choose whatever = SLF4J version you want, the one using Simple-Log or nlog4j. Using = ApacheDS embedded in another application, you can also choose the most = appropriate SLF4J version. If you may get into troubles because of log4j = then you go for the Simple-Log based SLF4J. This could easily be = resolved by externalizing the logging jar. =

J=E9r=F4me

= --Apple-Mail-1-525795990--