Re: How can I clean up the logs file

From: Martin Gleeson <gleeson@dont-contact.us>
Date: Fri, 14 Feb 1997 11:20:18 +1100

Julie Xu wrote:
>I have no experience about squid, but we use squid as httpd. our log
>files is keep growing. I only can kill the squid, reset the logs and
>reboot again manualy to clear them. on the cron job we run
>'/bin/kill -USR1 `cat /local/squid/etc/squid.pid`' every night to recycle
>the logs files. what does this command do?
>
>I would like kown how to clear the logs file cerrectly.

You need to ensure that the directory that contains the log files is
writeable by nobody/nogroup.

Cheers,
Marty.
-------------------------------------------------------------------------
Martin Gleeson Webmeister | http://www.unimelb.edu.au/%7Egleeson/
Information Technology Services | Email : gleeson@unimelb.edu.au
The University of Melbourne, Oz. | Phone : +61 3 9344 7407
       "I hate quotations" -- Ralph Waldo Emerson; Journals (1843)
-------------------------------------------------------------------------
Received on Thu Feb 13 1997 - 16:48:47 MST

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