tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neal" <>
Subject RE: Logging UserAgent (browser)
Date Thu, 07 Nov 2002 07:04:38 GMT

I it worked.  Cool, thanks.  Something I noticed though ... while the
logging of Netscape-related agents is rpetty good, the Micrsoft IE browsers
are logged very vaguely.  For instance, MSIE 6.0 is logged as Mozill 3.1
Compatible.  Any way to change this?

Also, does anyone know how the two formats (combined and common) compare to
the logging patterns used in Apache?


-----Original Message-----
From: Shapira, Yoav []
Sent: Wednesday, November 06, 2002 10:48 AM
To: Tomcat Users List
Subject: RE: Logging UserAgent (browser)

What version of tomcat are you using?

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

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: neal []
>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
>format)?  If so, what would the association be there?  I failed to find
>information in the tomcat manual.  :(
>-----Original Message-----
>From: Tim Funk []
>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.
><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
>> browser), in the access logs?
>> Thanks!
>> Neal
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message