Re: Log4j 1.2.x Customer Appender not used as "Plugin" by Log4j 1.2 Bridge

2022-04-09 Thread Pablo Rogina
, 2022 at 5:44 AM Piotr P. Karwasz wrote: > > Hello Pablo, > > On Tue, 29 Mar 2022 at 19:58, Pablo Rogina wrote: > > However this warning appears (application launched with > > -Dlog4j2.debug=true): > > WARN StatusLogger Unable to load plugin class name > > com.myc

Re: Log4j 1.2.x Customer Appender not used as "Plugin" by Log4j 1.2 Bridge

2022-03-29 Thread Pablo Rogina
Ralph, thank you for your reply. > To be usable in your configuration a Log4j 1.2 Appender cannot be a Log4j2 > plugin. Ok. It is not, as my CustomAppender extends RollingFileAppender (from Log4j v 1.2.x) > You would configure it exactly as you do in log4j 1.x, via its class name. Ok. I think it

Log4j 1.2.x Customer Appender not used as "Plugin" by Log4j 1.2 Bridge

2022-03-29 Thread Pablo Rogina
ke it work: 1. given that we're not using an XML or JSON configuration file I don't know how to set the "packages" property for Configuration in a log4j v1 properties file 2. tried system variable -Dlog4j.plugin.packages=com.mycompany.log4j.