Re: logfile (Re: Frequency of reboot?)

From: Tristan Lewis <tristan@dont-contact.us>
Date: Wed, 02 Jul 1997 00:18:40 +0800

> >Correct me if I'm wrong, but, if you don't restart squid every now
> >and then, your cache logfile (the one with the state information)
> will
> >eventually grow out of bounds, will it not?
>
> Use "kill -USR1 `cat /usr/local/squid/logs/squid.pid`" (or wherever
> squid
> puts its PID, defined in squid.conf). This rotates the log files
> without
> restarting squid.

And if you put this in your crontab file, you can have your log files
rotated periodically.
:)

Tristan Lewis
tristan@foxgold.net.au
Received on Tue Jul 01 1997 - 09:19:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:39 MST