Re: [squid-users] access.log rename

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 6 Sep 2008 21:46:28 +1200 (NZST)

>
> Hi all,
> My question is about rotating squid log files.
> I should write a daemon that every 5 min reads access.log and updates a
> database.
> Now my question is does it may cause problem for rotating access.log?
> Because my daemon has opened it and squid wants to rename it and I have
> seen
> that renaming a file when another program is using it, is impossible.
> If it causes problem what should I do in my program that both my program
> and
> squid work?
> should I use scripts?
> What do scrips that rotate squid's log do? Do they stop squid?
>

Squid 2.7 and write a LogDaemon helper.

Amos
Received on Sat Sep 06 2008 - 09:46:36 MDT

This archive was generated by hypermail 2.2.0 : Sun Sep 07 2008 - 12:00:02 MDT