Name

logfile_rotate

Synopsis

You must periodically signal Squid to rotate its log files. If you don’t, they will increase in size and eventually fill up the disk partition. This directive specifies how many old copies of each log file to keep around. See Section 13.7 for more information.

Syntax

logfile_rotate N

Default

logfile_rotate 10

Example

logfile_rotate 5

Related

cache_access_log, cache_log, cache_store_log, cache_swap_log, useragent_log, referer_log

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.