logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-788) Make Log4j2 EAR friendly
Date Thu, 21 Aug 2014 17:45:11 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Romain Manni-Bucau updated LOG4J2-788:

    Attachment: LOG4J-788-svndiff.patch

finally got real internet and was able to checkout properly the project, attaching a svn diff

> 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
>         Attachments: ClassLoaderHierarchyContextPriorityRulesTest.java, LOG4J-788-svndiff.patch,
log4j2-788.patch, log4j2-app.xml, log4j2-server.xml, log4j2-shared.xml
> 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

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

View raw message