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 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.