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

Matt Sicker resolved LOG4J2-2040.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Fixed in 3.x due to the new PluginService class format which uses ServiceLoader 
and is included properly by normal code.

> Clarify how to include plugin .dat file in OSGi bundle based Log4j plugins
> --------------------------------------------------------------------------
>
>                 Key: LOG4J2-2040
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2040
>             Project: Log4j 2
>          Issue Type: Documentation
>            Reporter: Matt Sicker
>            Priority: Major
>             Fix For: 3.0.0
>
>
> When using the maven-bundle-plugin to build a custom Log4j plugin, the 
> Log4j2Plugins.dat file is not included by default. Adding this config, 
> {{<Include-Resource>${project.build.directory}/classes/</Include-Resource>}}, 
> to the plugin will ensure the dat file is included in the output bundle for 
> custom plugins.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to