squid -k rotate

Category: Web Servers & Proxies

squid -k rotate

Rotate Squid log files now

Closes the current access and cache logs, renames them with a .0, .1, and so on sequence, and starts fresh files. This is the command logrotate cron jobs call for Squid. Check that the logfile_rotate count in squid.conf is high enough for your retention.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.