Re: resetting access.log

From: khalid Mahmood <khalid@dont-contact.us>
Date: Thu, 15 Jun 2000 12:51:19 +0500

Put this line in your crontab

0 01 * * * /usr/locla/bin/squid -k rotate 1>/dev/null 2>/dev/null
it will rotate your all squid logs.

khalid

Rene Sieben wrote:

> Hi folks,
>
> I've got a problem with my access.log. It is getting really to big.
> My idea was to reset the access log by deleting this file.I
> thought that squid would create a new one, but squid did nothing
> that way.
>
> Can anybody tell me how I can delete the access.log and create a new
> one, maybe as a cron job?
>
> Thanks
>
> Rene Sieben
Received on Thu Jun 15 2000 - 01:55:06 MDT

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