Hi, Yes, the Log that is created internally is a commons-logging Log acquired from commons-logging LogFactory. However, the isLogEnabled() flag must be set 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 know 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 clarify I'd be happy to explain! Allistair > -----Original Message----- > From: QM [mailto:[EMAIL PROTECTED] > Sent: 12 August 2004 13:26 > To: Tomcat Users List > Subject: Re: Debugging Tomcat > > > 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 > always say "a > : higher number means more output". I find this statement > reasonably confusing. > : It raises quite a lot of questions about what the maximum > number is and what > : that translates to in terms of logging output. > > I can tell you what it means: not a whole lot, at least not > these days. > > I understand most Tomcat logging is done via commons-logging so you'd > tune that config for output instead. > > > : 2) Looking in the TC source last night I found that the > kind of logging I > : would like to be output is always encapsulated with a if > (log.isLogEnabled()) > : statement. I would like to know which log this translates > to, and how to > : enable it. > > What type of variable is "log"? ;) > > btw, what was with the completely unrelated message at the bottom of > your last post? > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]