Is this what u want?try out with -Dlog4j.debug

在 2012-10-19,10:18,Vladimir S <[email protected]> 写道:

> All,
> 
> Sometimes jars pack their own versions of log4j.xml and as a result can be
> unpredictably picked up by the JVM Classloader.
> Is there a way to figure out which log4j.xml is getting loaded into the
> classpath? Can I query some attribute of the Logger object to see which
> log4j.xml its using?
> 
> 
> Thank You
> Vladimir

Reply via email to