[squid-users] parsing log files

From: Paul Bryan <pa_bryan@dont-contact.us>
Date: Thu, 25 Oct 2001 18:03:06 +1000 (EST)

Hi, I have a question about parsing log files in real
time. I've tried to find help before but didn't get
any so I'm trying again.

Basically what I'm trying to do is direct the squid
access log file to a named pipe (no problems) and
write a script/program to read from that named pipe
(again no problems sort of...).

The problem is trying to get the script/program that
is parsing the log file to keep up with the output
from squid.

Has anyone had any experience with this before?

I've got close but when running web-proxy benchmark
software the last 20-50 odd entries are never written
out by the parser. It doesn't seem to matter weather
there are 500 or 10000 transactions it ends up the
same.

Any ideas? If I figure it out I'll post my solution as
I've seen a couple of posts regarding this.

Cheers.

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.
Received on Thu Oct 25 2001 - 02:03:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:07 MST