useragent_log

 < Day Day Up > 

useragent_log

This directive causes Squid to create a log file of User -Agent strings. The file contains three fields: client identifier, timestamp, and user-agent string. The client identifier is an IP address, unless you enable the log_fqdn directive, in which case it is a hostname if one is available. Squid writes an entry for every HTTP request that has a User-Agent header. Unlike access.log , entries are written to this file when the request is received.

Syntax

 useragent_log   pathname   

Default

No default

Example

 useragent_log /usr/local/squid/var/logs/useragent.log 

Related

log_fqdn , cache_access_log , referer_log

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net