Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 81668 invoked from network); 28 Jul 2005 05:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2005 05:36:29 -0000 Received: (qmail 94797 invoked by uid 500); 28 Jul 2005 05:36:27 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 94738 invoked by uid 500); 28 Jul 2005 05:36:27 -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 94722 invoked by uid 99); 28 Jul 2005 05:36:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2005 22:36:27 -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, 27 Jul 2005 22:36:19 -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 j6S5aNf09177 for ; Thu, 28 Jul 2005 00:36:23 -0500 Message-ID: <42E86ED6.9010505@atlassian.com> Date: Thu, 28 Jul 2005 15:36:22 +1000 From: Nick Faiz User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@directory.apache.org Subject: logging: apacheds as a standalone server and an embedded server 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 all, I'd like to put forward an idea which has arisen out of the inclusion of SLF4J as the logging framework for ApacheDS. We need to ensure that log4j.properties is not distributed to applications which want to embed ApacheDS. However, we also need a logging config. present to run ApacheDS as a standalone. I've written a maven 'standalone' goal for apacheds-main which builds a zip, holding all dependencies and a log4j.properties. The standalone build is pretty basic but it would not take much work to add apacheds-standalone.sh/bat files - it would begin to resemble a real standalone application. We would also use the standalone config. to add a logs dir to a server.home directory. I've also added a setting to project.properties to ensure that log4j.properties is excluded, by default, from the jar:jar goal. This will keep our logging config. from being distributed in apacheds when it operates as a dependency (i.e. on a maven repo.) and not the main application. Does this sound reasonable to everyone? If so I'll file a JIRA issue and attach the patch there. Cheers, Nick P.S. In case anyone missed the logging ideas I put forward they are available at http://wiki.apache.org/directory/LoggingPlan . -- ATLASSIAN - http://www.atlassian.com/ Confluence - the enterprise wiki - tried it yet? http://www.atlassian.com/confluence/ --