You can log about anything you want, including cookies and specific HTTP headers.
It is not in the 4.1 documentation but %{Referer}i, %{User-Agent}i, etc. work. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20L og%20Valve You can do the same with %{cookiename}c; and if you write it into this format you can filter in WebTrends on certain cookies: "cookiename=%{cookiename}c" " adds a " around the thing so that you can include spaces. %a - Remote IP address %A - Local IP address %b - Bytes sent, excluding HTTP headers, or '-' if zero %B - Bytes sent, excluding HTTP headers %h - Remote host name (or IP address if resolveHosts is false) %H - Request protocol %l - Remote logical username from identd (always returns '-') %m - Request method (GET, POST, etc.) %p - Local port on which this request was received %q - Query string (prepended with a '?' if it exists) %r - First line of the request (method and request URI) %s - HTTP status code of the response %S - User session ID %t - Date and time, in Common Log Format %u - Remote user that was authenticated (if any), else '-' %U - Requested URL path %v - Local server name Patrick -----Original Message----- From: Chanan Braunstein [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 7:36 AM To: 'Tomcat Users List' Subject: RE: IIS log files Might have to do it from the access logs from within Tomcat - Did you try doing that yet? I haven't yet. We were using Web Trends - we are now using Live Stats - Same idea as Web Trends. Chanan Braunstein Knovel Corp. Web Development Manager 607-773-1840 x672 http://www.knovel.com -----Original Message----- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 10:09 AM To: 'Tomcat Users List' Subject: RE: IIS log files I have been looking for a way to do that for a long time. So far, the answer is no. If you do find out anything, please post and let me know too. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 PS: just curious, are you looking at this to use the log for WebTrend? -----Original Message----- From: Chanan Braunstein [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 9:06 AM To: 'Tomcat Users List' Subject: IIS log files Good Morning, I am using Tomcat 4 with the IIS redirector dll (version 1 I think). The URI being written to the IIS log files is always: /jakarta/isapi_redirect.dll instead of the JSP file name. Is there a way to fix that? Chanan Braunstein Knovel Corp. Web Development Manager 607-773-1840 x672 http://www.knovel.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ***************************** This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. ***************************** --------------------------------------------------------------------- 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]