[
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/[email protected]/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.