Re: getting Squid logfiles into a database

From: Jonathan Larmour <jlarmour@dont-contact.us>
Date: Tue, 12 Jan 1999 15:40:20 +0000

Chris Foote wrote:
>
> It would be nice to have squid log to a pipe instead of tailing the
> log file, but it only gets rotated once a day, and very few records
> go missing.

Couldn't you just make access.log a pipe using mkfifo before you start
squid? Obviously you'd want to turn rotation right off then.

From a glance at the sources, squid only opens access.log O_CREAT|O_WRONLY
so I believe it should work.

Jifl

-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @ 
marry hoping their wives never do. Both are rare." ||     jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
Received on Tue Jan 12 1999 - 08:52:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:59 MST