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 2003/01/24 18:38:35 UTC
DO NOT REPLY [Bug 16400] New: -
Allow AccessLogValve to ignore (not log) requests for particular URIs
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=16400>.
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=16400
Allow AccessLogValve to ignore (not log) requests for particular URIs
Summary: Allow AccessLogValve to ignore (not log) requests for
particular URIs
Product: Tomcat 4
Version: 4.1.20
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mheinrichs@rogers.com
Our Tomcat servers receive many frequent requests (e.g., heartbeat/keep-alive)
that do not need to be logged. I would like the be able to provide the
AccessLogValve with a list of URIs which should not be logged. For example:
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="access_log." suffix=""
ignoreURI="/ignore-me.html,/ignore_this.jsp"
pattern="common" resolveHosts="false"/>
The ignoreURI attribute is a comma-delimited list of URIs.
See (soon-to-be) attached patch.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>