Hi,
What version of tomcat are you using?

In 4.x, changing the pattern from common to combined is all you need to
do.


Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: neal [mailto:nealcabage@;yahoo.com]
>Sent: Thursday, November 07, 2002 1:44 AM
>To: Tomcat Users List
>Subject: RE: Logging UserAgent (browser)
>
>Thanks but this didn't affect my logs at all. I changed the pattern to
>"combined" from "common" per your suggestion and the log is still using
>common format - no user-agent.
>
>Did you mean that I should use this in combination with one of the
>RequestInterceptor nodes I was referring to (where to explicitly define
a
>format)?  If so, what would the association be there?  I failed to find
>this
>information in the tomcat manual.  :(
>
>Thanks.
>Neal
>
>-----Original Message-----
>From: Tim Funk [mailto:funkman@;joedog.org]
>Sent: Wednesday, November 06, 2002 4:14 AM
>To: Tomcat Users List
>Subject: Re: Logging UserAgent (browser)
>
>
>Yes - use combined for your access log pattern.
>Ex:
><Valve className="org.apache.catalina.valves.AccessLogValve"
>        directory="logs"
>        prefix="localhost_access_log."
>        suffix=".txt"
>        pattern="combined" />
>
>
>neal wrote:
>> Is it possible to instruct Tomcat to log the HTTP UserAgent (Aka
which
>> browser), in the access logs?
>>
>> Thanks!
>> Neal
>>
>
>
>--
>To unsubscribe, e-mail:
><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
><mailto:tomcat-user-help@;jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>

This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to