From commits-return-5433-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Wed Jul 27 20:36:11 2005 Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 43159 invoked from network); 27 Jul 2005 20:36:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2005 20:36:11 -0000 Received: (qmail 43147 invoked by uid 500); 27 Jul 2005 20:36:09 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 43123 invoked by uid 500); 27 Jul 2005 20:36:09 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 43110 invoked by uid 500); 27 Jul 2005 20:36:09 -0000 Delivered-To: apmail-incubator-directory-cvs@incubator.apache.org Received: (qmail 43107 invoked by uid 99); 27 Jul 2005 20:36:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2005 13:35:57 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D81BFD3 for ; Wed, 27 Jul 2005 22:35:54 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: directory-cvs@incubator.apache.org Date: Wed, 27 Jul 2005 20:35:54 -0000 Message-ID: <20050727203554.18407.56781@ajax.apache.org> Subject: [Directory Wiki] Update of "LoggingPlan" by nickfaiz X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification. The following page has been changed by nickfaiz: http://wiki.apache.org/directory/LoggingPlan New page: Logging in Directory Server is handled by SLF4J - http://slf4j.org . Find below a plan for developing logging in the server. == Logging Location == Default behaviour should see logging should be saved to a /logs directory as apacheds.log . The location of this directory should be configurable but it should be tied to a server_home variable. The server_home directory can be the typical application directory for storing configuration files, etc.. This might be the same thing as the server working directory. == Choice of Logging Framework == SLF4J is ideal because it should allow any logging framework to be swapped in - this is achieved by ensuring that the correct jar is on the classpath (no dynamic classloading takes, it keeps things simple). Thus, we do not have to do much work here - we simply have to tell people how to locate the default slf4j implementation - nlog4j.jar - and replace it with their own jar. == Logging as an embedded server vs Logging as a standalone server == == Component specific logging ==