> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Sent: Thursday, May 20, 2010 3:34 PM
> To: Tomcat Users List
> Subject: Re: Way to record what URL an error originated from in my localhost 
> file?
>
> <Valve className="org.apache.catalina.valves.AccessLogValve"
>        ... [file and path parameters] ...
>        condition="javax.servlet.error.request_uri"
>        pattern="[%t] %a %{javax.servlet.error.request_uri}r (no CRLF)
>                 %{my.session.attribute}s (no CRLF here, either)
>                 %{my.other.session.attribute}s" />
>
>
> If you want to look at ExtendedAccessLogValve, it can do some more
> exciting things, though I think you have to know the parameter names
> beforehand: it can't simply dump the entire set of request parameters.
>
> Hope that helps,
> - -chris

Very nice example, thanks Chris.  

Where is ExtendedAccessLogValve?  
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

Reply via email to