On 2/06/2012 7:19 a.m., Leonardo Rodrigues wrote:
>
>
> #  TAG: useragent_log
> #       Squid will write the User-Agent field from HTTP requests
> #       to the filename specified here.  By default useragent_log
> #       is disabled.
> #
> #Default:
> # none
>
>
> i think squid must be compiled with
>
> --enable-useragent-log
>
> so that you can have this option working.
>
These days you can use that as the "useragent" log type built into 3.2. 
Or for older Squid just create a custom logformat 
(http://www.squid-cache.org/Doc/config/logformat/) which logs the 
User-Agent header ( %>{User-Agent} )
Amos
Received on Sat Jun 02 2012 - 03:38:10 MDT
This archive was generated by hypermail 2.2.0 : Sat Jun 02 2012 - 12:00:02 MDT