Check if log4cxx been configured?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Check if log4cxx been configured?

Hearne, S (Sean)
Hi,
 
I set up my config in an exe using: log4cxx::xml::DOMConfigurator::configure(“MyProg.exe.log4cxx.xml”)
 
I also use log4cxx in a dll that is used by MyProg.exe Is there a way I can find out if log4cxx has already been configured (from the dll)?
 
Log4net has the boolean variable: log4net.LogManager.GetRepository().Configured
 
Thanks,
 
Sean
 


This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing.

Loading...