Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 81559 invoked from network); 3 Apr 2009 02:56:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 02:56:33 -0000 Received: (qmail 49758 invoked by uid 500); 3 Apr 2009 02:56:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49691 invoked by uid 500); 3 Apr 2009 02:56:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49680 invoked by uid 99); 3 Apr 2009 02:56:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 02:56:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.109] (HELO usea-naimss4.unisys.com) (192.61.61.109) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 02:56:19 +0000 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.20]) by usea-naimss4 with InterScan Message Security Suite; Thu, 02 Apr 2009 21:55:58 -0500 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.55]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Apr 2009 21:55:52 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Apr 2009 21:55:52 -0500 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Thu, 2 Apr 2009 21:55:57 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Thu, 2 Apr 2009 21:55:53 -0500 Subject: RE: And even further into the black magic of logging configuration within tomcat... Thread-Topic: And even further into the black magic of logging configuration within tomcat... Thread-Index: Acmz6WtQYCiu7DsDTNm+XIMVhauvkgAHOi3g Message-ID: <0AAE5AB84B013E45A7B61CB66943C17215E6F33149@USEA-EXCH7.na.uis.unisys.com> References: <82f04dc40904021618u23510f14occbee37a1f65fa00@mail.gmail.com> In-Reply-To: <82f04dc40904021618u23510f14occbee37a1f65fa00@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Apr 2009 02:55:52.0678 (UTC) FILETIME=[B38B2060:01C9B407] X-Virus-Checked: Checked by ClamAV on apache.org > From: Dan Armbrust [mailto:daniel.armbrust.list@gmail.com] > Subject: And even further into the black magic of logging configuration > within tomcat... >=20 > So, why didn't log4j try to find the log4j.properties=20 > file for the second webapp? Verify that you have separate log4j.properties files in the WEB-INF/classes= directories of each webapp, and that there's not a permissions problem wit= h them being accessed by whatever userid Tomcat is running under. > There is definitely a bug here, but I don't know if the=20 > bug is in Tomcat or in Log4j. Where is your log4j.jar located? You should have separate ones in each web= app's WEB-INF/lib directory; if you place log4j.jar in Tomcat's lib directo= ry - or anywhere the common, system, or bootstrap class loaders could find = it - you may well end up with the symptoms you're observing. You could try= -verbose:class to see where classes are being loaded from, if you want to = wade through a whole lot of output. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org