tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6748] New: - Reduce amount of logging through WarpEngine, WarpHost
Date Wed, 27 Feb 2002 22:11:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6748>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6748

Reduce amount of logging through WarpEngine, WarpHost

           Summary: Reduce amount of logging through WarpEngine, WarpHost
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: anewberger@plumbdesign.com


When using the Warp connector log files through the Logger are deluged with 
messages like the following, one per request:

2002-01-01 16:06:33 WarpHost[www.foo.com]: Mapping request for Host
2002-01-01 16:06:33 WarpEngine[Apache]: Mapping request

This is a major annoyance and prevents the log files from actually being useful 
without grepping through the mess.

Request: for the two 'log()' calls in WarpHost.java and WarpEngine.java, either 
assign those log calls a verbosity such as 'information' so they can be 
intelligently screened out in the Logger tag in server.xml (preferred but 
difficult, because they don't call a logger directly, they use their 
superclass's call in ContainerBase which doesn't allow a verbosity to be passed 
in), or do something like what StandardHost.java does, and only call log() if 
the debug level is greater than 0.

I would be happy to submit a patch if thats necessary, but it should only be a 
couple of lines of code to change...

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message