logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: log4j.ignoreTCL
Date Thu, 26 Sep 2002 07:22:10 GMT

Pricilla,

You need to describe your environment. The ignoreTCL property will solve 
most cases of "multiple log4j.jar" syndrome but there are cases which it 
won't solve. What it is the *exact* error message?

At 22:49 25.09.2002 -0700, mwomack@apache.org wrote:
>Pricilla,
>
>I think your message is more appropriate for the log4j-user email list.  But
>the log4j.tcl property was just added recently by Ceki, so I think he can
>answer the question best.  Generally though, you do not want log4j available
>within 2 different locations in your classpath.  Try having only one
>instance in your classpath and see if the problem still occurs.
>
>hth,
>-Mark
>
> > -----Original Message-----
> > From: Pricilla Yin [mailto:pricilla.yin@montage-dmc.com]
> > Sent: Monday, September 23, 2002 12:19 PM
> > To: log4j-dev@jakarta.apache.org
> > Subject: log4j.ignoreTCL
> >
> >
> > I tried to set this system property to get around the error ""appender
> > is not assignable to Appender" when log4j.jar is loaded by mutliple
> > class loaders.
> >
> > However, it didn't work. I included the following line in the properties
> > file
> >
> > log4j.ignoreTCL = true
> >
> > I tried to set the property using the java -Dlog4j.ignoreTCL=true. It
> > still
> > complained the error.
> >
> > What did I do wrong?
> >
> > Pricilla
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:log4j-dev-help@jakarta.apache.org>
> >
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793



--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message