logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <da...@windward.net>
Subject FIXED: files not rolling over - debug dump
Date Mon, 03 Oct 2005 13:08:00 GMT
First off, many thank yous to James Stauffer for his help!!!!!

The problem was that we had log4j.jar in both tomcat/common/lib and
tomcat/webapps/store/WEB-INF/lib. My guess is that all of tomcat except
store used the one and store the other - and so both had it locked.

Thanks - dave

David Thielen
-----Original Message-----
From: James Stauffer [mailto:stauffer.james@gmail.com] 
Sent: Monday, October 03, 2005 7:02 AM
To: David Thielen
Subject: Re: files not rolling over - debug dump

On 10/1/05, David Thielen <david@windward.net> wrote:
> Hello;
> I used WhoLockMe (a nice little utility) and it shows that Tomcat has it
> opened/locked twice. Same PID.
> I have 2 webapps that are both logging - but the jar and log4j.xml are
> on ${catalina}/common/lib & classes.
> Is this the problem?

That shouldn't be a problem unless log4j is possibly being configured
twice.  Are you explicitly configuring log4j or letting it find the
config file automatically.  Checking the debug log4j output
(-Dlog4j.debug) should tell you if it is being configured twice.

James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message