Re: squid logging to a pipe

From: <rtviado@dont-contact.us>
Date: Sat, 11 Dec 1999 14:57:54 +0800 (PHT)

On Sat, 11 Dec 1999, Kendall Lister wrote:

> On Sat, 11 Dec 1999, Marlon Anthony Abao wrote:
>
> > is there a way to log the access.log and cache.log to a pipe?
> >
> > i mean instead of logging them to a file, would it be possible to tell
> > squid to pipe them to another program?
>
> Without even fiddling with Squid, you should be able to specify a named
> pipe as your log file - having never done this myself, I'm not sure
> exactly how you should set it up, but it would seem to be a good use of
> the technology.
>
try

tail -f <squid_log_file> | <program>

no need to fiddle squid

Rodel

 
> --
> Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
> Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
>
>
Received on Fri Dec 10 1999 - 23:32:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:50 MST