ok, found the following:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26372
&
http://issues.apache.org/bugzilla/show_bug.cgi?id=27371 (depended-on)

is that the one you mean?

we use commons-logging so we've never encountered any of these issues, but now I know a good reason not to use log4j on tomcat, thanks!

Mark Thomas wrote:
Matthew Kerle wrote:
let me know if I read that right...

Bill Barker wrote:
When you have the log4j jar in WEB-INF/lib, the it ends up being used
by Tomcat for some of it's logging.  As a result, it can cause memory
leaks and other weird errors when a context is stopped and started. This isn't a problem with j.u.l since the classes are loaded by the
system classloader. That is why Tomcat decided to use j.u.l for it's
internal logging by default.
does this mean that including log4j in my deployment WAR could
potentially cause memory leaks and problems with tomcat? I've never
heard of this, I thought that log4j played well with others, has anyone
else experienced this / are there any links that describe this problem/

Yes. Have a look in Bugzilla for details. Most have been fixed but I
think there are still a few scenarios that can cause trouble.

FWIW, I use log4j in my own web apps at work and they stay up for
months with a fair number of reloads and no obvious memory leaks.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia*

Mobile: +61404 096 863
Email:     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Web:      Matthew Kerle <http://threebrightlights.blogspot.com/>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to