There is another question here.  When log() is called no default log
level is assigned to it so there is no way to prevent log() messages
from cluttering the log files.  What about a change to allow the setting
of the log level for the log() method in server.xml or web.xml (or even
giving it a its own log level) so then all the log() messages can be
turned on and off..



-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 12, 2002 3:36 PM
To: Tomcat Developers List
Subject: Re: [PROPOSAL] Minor fix for servletapi-4 GenericServlet

Christopher K. St. John wrote:
>  In the jakarta-servletapi-4 repository, the class:
> 
>    javax.servlet.GenericServlet
> 
>  has init() and destory() methods that call log(). While
> not specifically prohibited in the 2.3 spec, it results
> in unncessary output into logs. Also, it's annoying.
> 
>  My proposal is to remove the two log() statements from
> GenericServet.init() and GenericServlet.destory(). If
> somebody needs them for debugging, they can add them
> back into their local copy.
> 
>  This was reported as bug #7190. I've included a patch
> as an attachment to this message (it just removes the
> two log messages and updates the copyright date)

+1. This sounds reasonable to me.

Remy


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to