Hi,

I've googled and looked in the mail archives but I've failed to find

If PropertyConfigurator.configure() accepts a String, a URL or a Properties object

and we are using log4j in a servlet

and it is unwise to use getServletContext().getRealPath("/") in a servlet because it might be in an unexpanded WAR and we are making our application compatible with that

then in what way should we configure our logger?

All the examples I've seen (including the one in the documentation) use a String containing a filename built from using getRealPath.

Thanks in advance.

--
Mark Himsley

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



Reply via email to