That's exactly what I wanted - I now see the config file that's getting picked up
Thanks! On Thu, Oct 18, 2012 at 6:00 PM, Joseph <[email protected]> wrote: > 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 >
