Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 3572 invoked from network); 31 May 2010 15:11:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 May 2010 15:11:00 -0000 Received: (qmail 40745 invoked by uid 500); 31 May 2010 15:11:00 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 40698 invoked by uid 500); 31 May 2010 15:11:00 -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 40691 invoked by uid 99); 31 May 2010 15:11:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 15:11:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 15:10:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4VFAa2U005807 for ; Mon, 31 May 2010 15:10:36 GMT Message-ID: <21816400.88781275318636392.JavaMail.jira@thor> Date: Mon, 31 May 2010 11:10:36 -0400 (EDT) From: "Kiran Ayyagari (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1350) Support changing log4j configuration for SiRunner-launched ApacheDS instances In-Reply-To: <258501176.1240222727425.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kiran Ayyagari updated DIRSERVER-1350: -------------------------------------- Fix Version/s: 2.0.0 (was: 2.0.0-RC1) Liked the idea too, will see if it is feasible to add this in the new test famework, however postponing this issue for a future versio cause after a quick evaluation looks like it needs significant amount of time to implement(a new annotation with atleast two options for setting logger config and applying the config on underlying logging provider) hence postponing. > Support changing log4j configuration for SiRunner-launched ApacheDS instances > ----------------------------------------------------------------------------- > > Key: DIRSERVER-1350 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1350 > Project: Directory ApacheDS > Issue Type: Improvement > Affects Versions: 1.5.4 > Reporter: Aleksander Adamowski > Assignee: Kiran Ayyagari > Fix For: 2.0.0 > > > See the discussion at http://www.mail-archive.com/dev@directory.apache.org/msg23067.html for initial details. > It seems that currently the log4j configuration is forcibly hardcoded inside the ApacheDS JARs and a log4j configuration file placed on test classpath doesn't influence Apache DS components' logging. > It makes it extremely hard to diagnose problems with launching and shutting down the embeddded Apache DS instance used for tests (http://cwiki.apache.org/DIRxSRVx11/42-using-apacheds-for-unit-tests.html). > There should be a way to override the logging configuration of all ApacheDS components using a log4j configuration file placed on the unit test classpath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.