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

global context properties

2015-09-19 Thread Nicholas Duane
We're using log4j to log business events. Each application needs to specify some application key/token. I don't want to add this key/token to our API which creates the event as that data is static for each application and thus should not have to appear in the API. I'm looking for some way to