Do you have a stacktrace?

Sent from my iPhone

> On 2016/06/09, at 20:09, Jochen Wiedmann <[email protected]> wrote:
> 
> Hi,
> 
> what is wrong with the following code, please (gives an NPE within
> getLogger, MyConfigurationFactory is never being invoked).
> 
>    public static void main(String[] pArgs) {
>        ConfigurationFactory.setConfigurationFactory(new
> MyConfigurationFactory());
>        final Logger log = LogManager.getLogger(Main.class);
>        log.info("Starting");
>    }
> 
> Thanks,
> 
> Jochen
> 
> -- 
> The next time you hear: "Don't reinvent the wheel!"
> 
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to