You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/02/27 23:11:15 UTC

DO NOT REPLY [Bug 6748] New: - Reduce amount of logging through WarpEngine, WarpHost

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>