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

Reply via email to