Search squid archive

Re: Browser information in logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux