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.
cache_access_log, cache_log, cache_store_log, cache_swap_log, useragent_log, referer_log