Name

cache_swap_log

Synopsis

Each cache directory has its own swap log file. These are binary-format journal files Squid uses to rebuild the in-memory indexes when in starts up. Each swap log file is located in the corresponding cache directory by default. If you use this option, Squid puts all swap log files in one directory. See Section 13.6 for more information.

Syntax

cache_swap_log pathname

Default

swap.state in each cache_dir

Example

cache_swap_log /var/log/squid-swap-state

Related

cache_store_log, logfile_rotate, cache_dir

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.