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

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