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]

Reply via email to