tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60161] RewriteValve: Add more logging support similar to mod-rewrite
Date Fri, 23 Sep 2016 10:24:31 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60161

--- Comment #10 from Santhana Preethi <santhanapreethi28@gmail.com> ---
(In reply to Remy Maucherat from comment #9)
> 
> Since the issue is about configuring the valve logging, I have a possible
> patch for that. It allows creating subcategories for the container logger,
> and exploits the ValveBase.containerLog field to use that other logger.

The proposed patch does allow adjusting the log level of ONLY the RewriteValve.
It is definitely better than the current situation. 

(In reply to Remy Maucherat from comment #8)
>
> I also don't see what the processing time is used for in a sub component,
> this screams like a feature from 15 years ago [use a debugger instead].

Often, Url Rewriting involves complex regex matching. Logging the processing
time for the rewrite will be useful for debugging any slow requests. Also,
httpd already logs the rules applied for every URI at a higher log level (3 and
above).

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message