Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 26383 invoked from network); 30 Jun 2005 02:08:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2005 02:08:52 -0000 Received: (qmail 4980 invoked by uid 500); 30 Jun 2005 02:08:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4807 invoked by uid 500); 30 Jun 2005 02:08:50 -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 4794 invoked by uid 99); 30 Jun 2005 02:08:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 19:08:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.39.31.158] (HELO zeus.atlassian.com) (64.39.31.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 19:08:53 -0700 Received: from [192.168.0.44] (b128D.static.pacific.net.au [202.7.87.141]) (authenticated) by zeus.atlassian.com (8.11.6/8.11.6) with ESMTP id j5U28lf23969 for ; Wed, 29 Jun 2005 21:08:47 -0500 Message-ID: <42C35434.4080001@atlassian.com> Date: Thu, 30 Jun 2005 12:08:52 +1000 From: Nick Faiz User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [apacheds] Which logging framework? References: <1120001071.4565.33.camel@wkslx01.iktek.com> <768dcb2e050629180879a15aee@mail.gmail.com> In-Reply-To: <768dcb2e050629180879a15aee@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, My own inclinations would be to take the framework with least complexity - log4j. No one seems to write articles about how log4j is difficult and has resource loading issues. The patch works and lays the ground for putting in proper logging. Commons logging seems to have known problems: for example, http://www.qos.ch/logging/thinkAgain.jsp . I also think planning needs to be put into (a) how logging will cooperate with a container, in an embedded situation and (b) what kind of logging the server will offer in general through an administrative interface. The last point, b, is more complex but can still be catered for by log4j. I'm saying this objectively. The patch took me an hour or so to create, Im not really hung up on using it. I just think log4j has the path of least resistance here. Really, Id like to see logging added, that's all. :) Cheers, Nick Trustin Lee wrote: > Hi, > > 2005/6/29, Emmanuel Lecharny >: > > > The Directory Server is not an app server, but do keep in mind > that when we are embedding, the better citizen that we can be in > that embedded environment, the better. And we also have > components of our own, since as triggers, stored procedures, etc. > > Guys, actually a lot of the Apache DS code is based on commons-log, > other parts rely on java.util.logging, and the remaining use log4j. > > > I believe ApacheDS can be used for both embedded and standalone > purporse eventually. > > >From *my* point of view, log4j is perfect for what we are doing > actually. > > Now, answering Trustin question, using java.util.logging doesn't seems > *to me* a very good idea. It has the same drawback than log4j - cf > Marc > & Noel answers - and it does not compare with log4j in term of > fonctionality, or tooling. > > > It looks like java.util.logging is less convinient than Log4J or > Commons-Logging. > > If I have to make a choice, based on what ApacheDS will be in two > years, > it may be : > 1) commons-logging/Juli + log4j > 2) log4j > 3) java.util.logging > > > If commons logging team is fixing the issue Stephane addressed as Noel > mentioned, I'd like to go to the choice #1 because I believe commons > logging is widely deployed and almost everyone knows how to use it. > > Actually I don't think the dynamic loading issue is not really > critical because we already know about it IMHO. > > Trustin > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ -- ATLASSIAN - http://www.atlassian.com/ Confluence - the enterprise wiki - tried it yet? http://www.atlassian.com/confluence/ --