[ 
https://issues.apache.org/jira/browse/LOG4J2-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019472#comment-17019472
 ] 

Mohammed commented on LOG4J2-1421:
----------------------------------

Hi All,

I'm also running into the same problem with the "Converter" category custom 
plugin. Attached the zip[LogMaskingConverter.zip], which contains the extended 
plugin class. When running it on the WebSphere Server, getting the 
below-mentioned error.

 

[1/20/20 3:54:18:997 PST] 0000005d SystemOut O 2020-01-20 03:54:18,997 
WebContainer : 0 DEBUG Took 0.002656 seconds to load 0 plugins from package 
com.genesyslab.studio.backendlogic



Kindly help me out with this.

 

> Custom plugins packaged in jar files are not loaded by "packages" property 
> mecanism
> -----------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1421
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1421
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6
>            Reporter: Anthony Maire
>            Priority: Major
>         Attachments: LogMaskingConverter.zip, log4j-plugin-load-issue.zip
>
>
> the "packages" attribute in configuration file works properly to load custom 
> plugins from Eclipse. However, if the plugin class is packaged alone in a jar 
> file (without the Log4j2Plugins.dat file in it), the "packages" property load 
> mecanism is not working.
> 2016-06-09 19:40:44,823 main DEBUG Took 0,001222 seconds to load 0 plugins 
> from package test



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

Reply via email to