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
watchlog.pl