Re: [squid-users] how to collect real-time log from all squid server

From: huang mingyou <therods@dont-contact.us>
Date: Sun, 12 Aug 2007 09:11:24 +0800

Henrik Nordstrom ,Thank you very much :D

On 12/08/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> On sön, 2007-08-12 at 08:52 +0800, huang mingyou wrote:
> > hi,guys:
> > In my squid cache network,have more than 100 squid server. I want
> > collect the real-time squid's access log.
> > There have some goo solution ? now,I use tail -F read the message
> > from log.then pipe to a shell script ,this shell script will send the
> > message to a mysql server. this method so dirty.And I had try the
> > syslog-ng,but I found that's method will dirty than me.
> > Please help me!
>
> You can also log to a named pipe
>
> And there is also the logfile daemon project at devel.squid-cache.org
> which breaks out the logging to a separate helper process, making things
> like the above considerably easier.
>
> http://devel.squid-cache.org/projects.html#s26_logfile_daemon
>
> Regards
> Henrik
>
>

-- 
Huang Mingyou
Received on Sat Aug 11 2007 - 19:11:27 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT