Hi there

I've got a problem finding the log.xml file that specifies the behavior for my log4j.

I have tried to put it almost everywhere in my war file, but i keep getting the 
nullpointerexcpetion. 

Anyone have advise on where to put it, or how to load it ??

I use this code :

//Initialise logger
String resource = "\\WEB-INF\\log.xml";
URL configFileResource = BidServerProxy.class.getResource(resource);
DOMConfigurator.configure(configFileResource.getFile());
                
Any pointers or suggestions ?

Abid
                

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

Reply via email to