You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/08/21 00:17:27 UTC

[jira] [Created] (LOG4J2-788) make log4j2 ear friendly

Romain Manni-Bucau created LOG4J2-788:
-----------------------------------------

             Summary: make log4j2 ear friendly
                 Key: LOG4J2-788
                 URL: https://issues.apache.org/jira/browse/LOG4J2-788
             Project: Log4j 2
          Issue Type: Task
            Reporter: Romain Manni-Bucau


ClassLoaderContextSelector seems a good candidate for ears but has a little issue in org.apache.logging.log4j.core.util.Loader#getResource since it doesn't handle overriding by classloader. The idea would be to use getResources instead of getResource and if multiple URLs are found remove urls from parent classloaders. If some urls remains then returns the first one and log it is ambiguous (warning), if not apply same logic on original URL enum.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org