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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.