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

From: julian julian <julian_lnx@dont-contact.us>
Date: Fri, 4 Apr 2008 07:43:35 -0700 (PDT)

Squid, as other linux software use a daemon knows as
logrotate who is the responsable of many log
rotations.
You should modify the logrotate.conf or
./logrotate.d/squid specify logrotate config for
squid.

--- Ramiro Sabastta <rsabastta@gmail.com> 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)
>
> Thanks a lot ...
>
> Kind regards !!
>
> Ramiro
>

      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Received on Fri Apr 04 2008 - 08:43:43 MDT

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