Mck SembWever created LOG4J2-673:
------------------------------------

             Summary: plugin preloading fails in shaded jar files
                 Key: LOG4J2-673
                 URL: https://issues.apache.org/jira/browse/LOG4J2-673
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0-rc2
            Reporter: Mck SembWever
            Priority: Critical
             Fix For: 2.0-rc2


Support for plugin preloading through the standard javax.annotation.processing 
tool was adding in LOG4J2-595

But the plugin processor always creates and stores the processed "Plugin" 
annotated classes into the same file. This works fine when the classpath 
consists of individual jar files, but fails when shaded jar files are used.

A tested fix exists at ...
I'll also attached the patch manually.

This has been tested against 
https://github.com/finn-no/log4j2-logstash-jsonevent-layout



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

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

Reply via email to