Hi,

I'm rather new to logging and having some trouble pinning down the
proper startup sequence. Current code appears below. If "dosomething"
writes to the log, the output is mingled with the log4j initialization
output. Users find this rather confusing. How can I delay my stuff until
log4j has finished speaking its piece? 

DOMConfigurator.configureAndWatch("conf/log4j.xml");

org.apache.commons.logging.Log log =
LogFactory.getFactory().getInstance(Xatanet.class);

dosomething(log);


Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to