Search squid archive

Re: Squid + MySQL ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux