Re: [squid-users] FIFO + Logrotate squid

From: Chris Robertson <crobertson_at_gci.net>
Date: Thu, 05 Jun 2008 12:13:15 -0800

William A. Knob wrote:
> Hi all,
>
> I have a problem using FIFO and Squid.
>
> The problem is: I create a log with mkfifo to work with my
> personal mysql logger, works fine. But when Logrotate runs, my fifo
> disapears! Logrotate moves my original FIFO to a .1 FIFO and create an
> empty FILE with the name of my fifo. Anyone knows how I make to
> logrotate create another FIFO when it runs?

It seems to me your best option would be to prevent logrotate from
messing with your FIFO at all. An alternative would be to use the
postrotate script to remove the newly created file, and create a FIFO in
its place, but that seems a bit silly.

>
> Regards,
>
>
> William

Chris
Received on Thu Jun 05 2008 - 20:13:32 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 06 2008 - 12:00:03 MDT