Re: [squid-users] Squid logging to a database

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 21 May 2008 01:11:10 +1200

Wundy wrote:
> Currently I have completed my script and tested it.
> it reads access.log , formats it and dumps it into a postgres db
>
> I also upgraded to squid3.0PRE5 ( the debian standerd package, will suffice
> for current testing )

Sorry wundy. I have to disagree. PRE5 is seriously buggy package. I'm
not certain why its still in Debian stable other than the actual squid
stables did not make their last cycle.

You can get a recent stable (4+) from the 'unstable' repositories. That
should work for testing.

>
> I downloaded the 2.7 source files and checked the code for logfile-daemon
> but I think it's a bit over my head. I still have no idea when it gets
> called.
>
> so when does it work ? when will my script be called, can I use parameters
> in my script ?
> I would like to remove the need for reading access.log
>
> greets
>
>

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE5
Received on Tue May 20 2008 - 13:11:12 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:13 MDT