tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r951093 - in /tomcat/trunk/java/org/apache: catalina/connector/ coyote/ coyote/ajp/ coyote/http11/
Date Fri, 04 Jun 2010 14:39:34 GMT
2010/6/3  <markt@apache.org>:
> Author: markt
> Date: Thu Jun  3 18:13:47 2010
> New Revision: 951093
>
> URL: http://svn.apache.org/viewvc?rev=951093&view=rev
> Log:
> Extend access logging to requests rejected in the Processors
>
> Modified:
>    tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java

> --- tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java (original)
> +++ tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java Thu Jun  3 18:13:47
2010
> @@ -457,6 +457,41 @@ public class CoyoteAdapter implements Ad
>     }
>
>
> +    public void log(org.apache.coyote.Request req,
> +            org.apache.coyote.Response res, long time) {
> +
(...)
> +        connector.getService().getContainer().logAccess(
> +                request, response, 0, true);

The "time" argument was not used. Though if its value is always zero
then nobody will notice the difference.

Best regards,
Konstantin Kolinko

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


Mime
View raw message