Custom appender : PluginElement

2014-08-28 Thread lb
I'm writing a custom appender and I have a problem setting up PluginElement: The xml definition is the following one: ${sys:java.io.tmpdir}/chronology-log4j2/conf-binary-vanilla-chronicle false false false 128 And the PluginFactory method is: @PluginFactory publ

Re: Appenders

2014-08-28 Thread Clément Guillaume
Yes, I'm programmatically adding appenders. I understand the point of view. And what about having access to the properties of the appender as the target of the ConsoleLogger? I know that this property is wrapped into an OutputStream and into a OutputStreamManager but I think it could be nice to ha