Re: getting Squid logfiles into a database

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 12 Jan 1999 16:33:56 +0100

Gavin Cameron wrote:

> I don't think that the time taken to insert the individual records
> will be a problem in this particular case. Sixty dialin users, Squid
> running on a PII 350MHz and the authentication and accounting DB will
> be running on another PII 350MHz over a pretty much dedicated network.

Either way, running the DB logger as a separete process that monitors
the cache log file has the benefits of not giving a performance penalty
on the cache if DB logging fails to keep up to speed.

This script can be as simple as running "tail -f", or a more advanced
one like the perl script attached.

---
Henrik Nordstrom
Spare time Squid hacker

Received on Tue Jan 12 1999 - 08:45:56 MST

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