RE: authenticate_program bombs out

From: Robert Collins <robert.collins@dont-contact.us>
Date: Tue, 27 Mar 2001 09:18:04 +1000

Or use syslog and capture that to SQL on the SQL box.

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
> Sent: Tuesday, March 27, 2001 9:07 AM
> To: Mike Everest
> Cc: squid-dev@squid-cache.org
> Subject: Re: authenticate_program bombs out
>
>
> Mike Everest wrote:
>
> > from my reading, the redirect_program (which is the next
> part of my equation
> > ;-) works on a similar principle. that makes squid just
> the easiest thing
> > to work with.
>
> It does.
>
> > but all good things have their down-ers: i want to log to a
> sql database
> > :( as far as i can tell, it will mean touching the source - bummer.
>
> On the todo list I think.. but in the mean time you can "work
> around" it
> outside Squid. There are at least two approaches on how to do this
> without modifying code:
>
> a) Use a "log-tail daemon" that reads Squid's log file and
> forwards the
> entries to a SQL server, combined with semi-frequent log rotation to
> keep the on-disk size down.
>
> b) Logging to a pipe where another daemon listens, completely avoiding
> touching disk.
>
> The "log-tail" approach has the big benefit that Squid does
> not care if
> the log daemon is bogged down and cannot keep up with the
> request rate.
> It simply continues to log to the log file, from where the SQL logger
> then tries to catch up when time permits.
>
> --
> Henrik Nordstrom
> Squid hacker
>
Received on Mon Mar 26 2001 - 16:24:40 MST

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