logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yair Ogen (yaogen)" <yao...@cisco.com>
Subject RE: Converter Plugin not loaded
Date Thu, 17 Jul 2014 13:14:21 GMT
Attached the plugin I am trying to add.

I am also writing custom configuration that is programmatically based (i.e. no configuration
file is used).

I think the problem is due to the fact that the only way to load new plugins is via the plugin
manager that only supports: loadPlugins(final ResourceLoader loader) that use DataInputStream
with no apparent documentation on how this input stream should be composed.

Best Regards,
 
Yair Ogen

-----Original Message-----
From: Remko Popma [mailto:remko.popma@gmail.com] 
Sent: Thursday, July 17, 2014 16:03
To: Log4J Users List
Subject: Re: Converter Plugin not loaded

Would it be possible to provide a small sample project that demonstrates the problem?
You may want to create a Jira ticket to attach files to (the mailing list software does not
like attachments).

Remko


On Thu, Jul 17, 2014 at 10:00 PM, Yair Ogen (yaogen) <yaogen@cisco.com>
wrote:

> Just recently joined the mailing list - can you please share?
>
> Yair
>
> -----Original Message-----
> From: Jaime Sastre [mailto:jsastre@globalavl.com]
> Sent: Thursday, July 17, 2014 15:59
> To: Log4J Users List
> Subject: RE: Converter Plugin not loaded
>
> I think it is related to my issue (previous email)
>
> -----Mensaje original-----
> De: Yair Ogen (yaogen) [mailto:yaogen@cisco.com] Enviado el: jueves, 
> 17 de julio de 2014 14:43
> Para: log4j-user@logging.apache.org
> Asunto: Converter Plugin not loaded
>
> I am trying to extend log4j2.
>
> I created my own configuration factory that is loaded just fine. In 
> there I give it a default pattern with some new converters.
>
> I created a converter with the needed annotations. However, seems that 
> the plugin manager is not picking these up. Only plugins that exists 
> in "" are actually loaded.
>
> What am I missing?
>
> Yair
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
Mime
View raw message