Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
On Fri, Aug 2, 2013 at 5:56 PM, Gary Gregory wrote: > On Fri, Aug 2, 2013 at 5:51 PM, Ralph Goers wrote: > >> We definitely need more examples. Creating some sample code might also >> spur us to simplify APIs where we can. >> > > I bet! That's a great idea. > It should also help us make sure wha

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
On Fri, Aug 2, 2013 at 5:51 PM, Ralph Goers wrote: > We definitely need more examples. Creating some sample code might also > spur us to simplify APIs where we can. > I bet! That's a great idea. Gary > > Ralph > > > On Aug 2, 2013, at 2:38 PM, Gary Gregory wrote: > > > Does any of this belong

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Ralph Goers
We definitely need more examples. Creating some sample code might also spur us to simplify APIs where we can. Ralph On Aug 2, 2013, at 2:38 PM, Gary Gregory wrote: > Does any of this belong in the 'extending log4j' section of the manual? The > Javadoc? > > Gary > > > On Fri, Aug 2, 2013 at

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
Does any of this belong in the 'extending log4j' section of the manual? The Javadoc? Gary On Fri, Aug 2, 2013 at 8:30 AM, Christian Grobmeier wrote: > Hi, > > I looked at it (Simone provided me a patch with the current state of work). > > You need to override this in the OnamiConfigurationFacto

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Christian Grobmeier
Hi, I looked at it (Simone provided me a patch with the current state of work). You need to override this in the OnamiConfigurationFactory: @Override public Configuration getConfiguration(final String name, final URI configLocation) { return getConfiguration(null); } The pro

[log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Simone Tripodi
Hi all mates, I am trying to setup log4j2 configuration programmatically, I defined my version of Configuration: ++ class MyLoggingConfiguration extends BaseConf