RE: global context properties

2015-09-20 Thread Nicholas Duane
access to those from the layout object somehow? 2. What you suggest below using the PluginFactory @PluginConfiguration, does that allow you to get the entire list of parameters without having to have a member property for each one? Thanks, Nick > Subject: Re: global context properties >

Re: global context properties

2015-09-19 Thread Ralph Goers
Take a look at RFC5424Layout. On the @PluginFactory method you will see a Configuration parameters annotated with @PluginConfiguration. If you include this in your factory method parameter list Log4j will automatically pass you the current Configuration object. From that you can call the