which config file

2008-08-25 Thread Reza Razavipour
All, how can I programmatically determine the URL to the xml file that my app has configured itself based on? What I am trying to do is to get the URL, load it into a DOMConfigurator so I can determine the specifics of an appender. Is there a better way? Thanks Reza

Finding which config file was used

2008-02-05 Thread Olivier Lefevre
How can one find out, after program initialization, which configuration file was read by log4j at startup? Yes, I could walk the classpath but there has to be a way to get that info from log4j directly. Thanks, -- O.L. - To

Re: Finding which config file was used

2008-02-05 Thread James A. N. Stauffer
Turn on log4j debug output. On Feb 5, 2008 10:10 AM, Olivier Lefevre [EMAIL PROTECTED] wrote: How can one find out, after program initialization, which configuration file was read by log4j at startup? Yes, I could walk the classpath but there has to be a way to get that info from log4j

Re: Finding which config file was used

2008-02-05 Thread Jacob Kjome
-Dlog4j.debug=true Jake On Tue, 05 Feb 2008 17:10:38 +0100 Olivier Lefevre [EMAIL PROTECTED] wrote: How can one find out, after program initialization, which configuration file was read by log4j at startup? Yes, I could walk the classpath but there has to be a way to get that info from log4j