logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph <wutong...@gmail.com>
Subject Re: Multiple log4j.xml in classpath
Date Thu, 18 Oct 2012 22:00:31 GMT
Is this what u want?try out with -Dlog4j.debug

在 2012-10-19,10:18,Vladimir S <the.junkmail.bucket@gmail.com> 写道:

> 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

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message