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
Attachment:
signature.asc
Description: This is a digitally signed message part