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

From: Robin Bowes <robin-lists@dont-contact.us>
Date: Tue, 13 Jun 2006 12:24:32 +0100

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.

R.

>
> -----Ursprüngliche Nachricht-----
> Von: news [mailto:news@sea.gmane.org] Im Auftrag von Robin Bowes
> Gesendet: Dienstag, 13. Juni 2006 11:31
> An: squid-users@squid-cache.org
> Betreff: [squid-users] Pipe log output to program
>
>
> Hi,
>
> Is it possible to pipe squid log output to a custom logging program as it is with apache [1].
>
> I've googled, but could only find this reference to the topic [2]
>
> Thanks,
>
> R.
>
> [1] http://httpd.apache.org/docs/2.2/logs.html#piped
> [2] http://www.squid-cache.org/mail-archive/squid-dev/200509/0021.html
>
>
Received on Tue Jun 13 2006 - 05:24:51 MDT

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