You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Bernd Prager <be...@prager.ws> on 2011/01/10 16:45:35 UTC

Initialization check of log4cxx

Hi,

I struggled for a while with error messages of log4cxx not properly 
initialized.
It had eventually something to do with singletons which order of 
instantiation I could not control.

I did find a solution of testing if log4cxx is initialized here: 
http://marc.info/?l=log4cxx-user&m=124071375229146&w=2

It did what I needed but seems to be an expensive operation though.
Is there anything more simple available how I can check if log4cxx is 
initialized?

Thanks,
-- Bernd