Name

cache_access_log

Synopsis

This is the location of Squid’s access.log, which contains one entry for each client request. See Section 13.2 for the details. If you want to disable the access log, set this to /dev/null.

Syntax

cache_access_log pathname

Default

cache_access_log $prefix/var/logs/access.log

Example

cache_access_log /var/log/squid-access.log

Related

emulate_httpd_log, cache_log, cache_store_log, log_ip_on_direct, logfile_rotate

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.