logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir S <the.junkmail.buc...@gmail.com>
Subject Re: Multiple log4j.xml in classpath
Date Thu, 18 Oct 2012 22:10:52 GMT
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 <wutongjoe@gmail.com> wrote:

> 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, None, 0 bytes)
View raw message