Re: [squid-users] Re: AW: Pipe log output to program

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Thu, 22 Jun 2006 02:35:54 +0200

On Tue, 2006-06-13 at 12:24 +0100, Robin Bowes wrote:
> Werner.Rost@zf.com wrote:
> > Use the linux command
> >
> > tail -f access.log | <program>
>
> Werner,
>
> Thanks for the suggestion, but that's not quite what I'm looking for.
>
> I'd like to do something like:
>
> CacheAccessLog "|/path/to/logprocessor"
>
> where logprocessor is some program that processes the log at is is
> written, line-by-line, and does something like update a database.

This has been asked so many times that I've added a FAQ entry for it.
Please see
http://wiki.squid-cache.org/SquidFaq/SquidLogs#head-594c53a118469e9a7e921b751e0b733602632e66

        Kinkie
Received on Wed Jun 21 2006 - 18:35:58 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT