http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
%{host}i <-- Get the host
%{cowbell}c <-- Get the first cookie called cowbell
%{cowbell}r <-- Return the value of
ServletRequest.getAttribute("cowbell").toString();
%{more.cowbell}r <-- Return the value of
ServletRequest.getAttribute("more.cowbell").toString();
%{fever}s <-- Return the value of
HttpSession.getAttribute("fever").toString();
-Tim
Harald Schumacher wrote:
Tim,
could you give me a hint where to find a documentation? On
jakarta.apache.org the 4.1 documentation does not mention this lines I
copied in my first mail. Using the definition from 5.x did not work for
my (maybe I made some mistakes?) but I would like to see how a correct
example looks like.
Thank you for your help
Harald
Am Di, den 14.09.2004 schrieb Tim Funk um 13:06:
This functionality is also available in 4.1(I forget the number)
-Tim
Harald Schumacher wrote:
Hi,
I got an hint to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html.
for a previous question about logging. There I found
* %{xxx}i for incoming headers
* %{xxx}c for a specific cookie
* %{xxx}r xxx is an attribute in the ServletRequest
* %{xxx}s xxx is an attribute in the HttpSession
This seems to be what I want, but I do not find this section in the
version 4 documentation (and it seems not to work!). Do I have to
upgrade to 5 or has someone managed to get this running?
Thanks and best regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]