[squid-users] Re: Squid + MySQL ?

From: Chris Knipe <savage_at_savage.za.org>
Date: Wed, 5 Aug 2009 17:10:23 +0200

On 05/08/09 10:58 -0400, Maxime Gaudreault wrote:
>Are you sure it works well with log rotation ?
>

Yes, it does. Do you have a old version of File::Tail perhaps?

Taken from http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm

---
If the file does not get altered for a while, File::Tail gets suspicious 
and startschecking if the file was truncated, or moved and recreated. If 
anything like that had happened, File::Tail will quietly reopen the 
file, and continue reading. The only way to affect what happens on 
reopen is by setting the reset_tail parameter (see below). The effect of 
this is that the scripts need not be aware when the logfiles were 
rotated, they will just quietly work on.
---
--
Chris.
Received on Wed Aug 05 2009 - 15:10:44 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 05 2009 - 12:00:03 MDT