Re: [squid-users] Dub with access.log rotation ...

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 05 Apr 2008 03:27:13 +1300

Ramiro Sabastta wrote:
> Hi,
>
> I installed squid on a Debian box.
>
> Everithing is working well, but I have a issue that I can't solve.
>
> The access.log log file always close an open new one at 6 A.M.
>
> I try to change that with the squid -k rotate option, including in the
> crontab file this line:
>
> 0 0 * * * /usr/sbin/squid -k rotate
>
> but this configuration close the file at 00 AM and 6 AM too.
>
> ¿What can i do to force the rotation only to 0 AM? (but not to 6 AM)

It sounds a lot like you have the squid logs registered with logrotate
(check for a /etc/logrotate.d/squid file)

This run around 6'ish every day. Otherwise it may be another crontab
elsewhere doing it.

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Fri Apr 04 2008 - 08:27:01 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT