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
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
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
-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