Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 51649 invoked from network); 12 Aug 2004 13:12:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Aug 2004 13:12:06 -0000 Received: (qmail 55467 invoked by uid 500); 12 Aug 2004 13:11:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 55396 invoked by uid 500); 12 Aug 2004 13:11:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 55372 invoked by uid 99); 12 Aug 2004 13:11:37 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [195.172.82.5] (HELO mail1.qas.com) (195.172.82.5) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 06:11:31 -0700 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by mail1.qas.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Thu, 12 Aug 2004 14:11:23 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Debugging Tomcat Date: Thu, 12 Aug 2004 14:11:20 +0100 Message-ID: <5684A7E6FB10504393A2806C1F4C021003B0E043@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Debugging Tomcat Thread-Index: AcSAZ5qMrCHjHQ18QQCls8w5Vn1j3wABfuPg From: "Allistair Crossley" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Yes, the Log that is created internally is a commons-logging Log acquired f= rom commons-logging LogFactory. However, the isLogEnabled() flag must be se= t somewhere in a Tomcat configuration file no? I'm not aware of any logging= configuration file for commons-logging within the Tomcat dist - I only kno= w of the debug attributes on the various elements of server.xml but none of= those has yielded the logging statements within the TC code. I am not sure which unrelated message you are referring to but if you clari= fy I'd be happy to explain! Allistair > -----Original Message----- > From: QM [mailto:qm300@brandxdev.net] > Sent: 12 August 2004 13:26 > To: Tomcat Users List > Subject: Re: Debugging Tomcat >=20 >=20 > On Thu, Aug 12, 2004 at 08:58:21AM +0100, Allistair Crossley wrote: > : 1) Everywhere in the documentation on Tomcat and in the comments for > : server.xml, when the debug attribute is discussed, it will=20 > always say "a > : higher number means more output". I find this statement=20 > reasonably confusing. > : It raises quite a lot of questions about what the maximum=20 > number is and what > : that translates to in terms of logging output. >=20 > I can tell you what it means: not a whole lot, at least not=20 > these days. >=20 > I understand most Tomcat logging is done via commons-logging so you'd > tune that config for output instead. >=20 >=20 > : 2) Looking in the TC source last night I found that the=20 > kind of logging I > : would like to be output is always encapsulated with a if=20 > (log.isLogEnabled()) > : statement. I would like to know which log this translates=20 > to, and how to > : enable it. >=20 > What type of variable is "log"? ;) >=20 > btw, what was with the completely unrelated message at the bottom of > your last post? >=20 > -QM >=20 > --=20 >=20 > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 =20 ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org