Re: [squid-users] logrotate/squid -k rotate relationship

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 03 Oct 2006 01:31:00 +0200

mån 2006-10-02 klockan 16:14 -0700 skrev karl@klxsystems.net:

> Having read man pages, searched your mail archives and found a great deal
> of useful info, as well as the well-organized FAQ, it's still vague as to
> the relationship logrotate script, and squid -k rotate share.

It's a quite simple one.. when logrotate has renamed the logs it must
run "squid -k rotate" to tell Squid to reopen it's log files.

To support an external tool such as logrotate renaming the logfiles you
must also set "logfile_rotate 0" in squid.conf to disable the log
rotation on "-k rotate".

Regards
Henrik

Received on Mon Oct 02 2006 - 17:31:11 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST