RE: [squid-users] How do I stop access.log from logging gifs and jpegs

From: Chris Robertson <[email protected]>
Date: Thu, 3 Nov 2005 15:21:24 -0900

> -----Original Message-----
> From: Ric Lonsdale [mailto:ric.lonsdale@blueyonder.co.uk]
> Sent: Thursday, November 03, 2005 3:06 PM
> To: squid-users@squid-cache.org
> Subject: RE: [squid-users] How do I stop access.log from logging gifs
> and jpegs
>
>
> > > Is it possible to stop squid from logging gifs and jpegs in
> > the access.log
> > > file?
> >
> > http://devel.squid-cache.org/old_projects.html#customlog
> >
> > Can you advise which part of this link I should concentrate
> > on as I am not a
> > programmer. If you can tell me what requires changing I can
> > ask the relevant
> > person to help me.
> >
> > Thanks,
> > Ric
> >
> >
>
> Perhaps "How do I patch Squid?" needs to be added to the FAQ (or
> http://www.squid-cache.org/Doc/FAQ/FAQ-2.html#ss2.6 could be
> expanded)...
>
> Squid patches available from http://devel.squid-cache.org/
> should be applied
> to the most recent source. Assuming you have the most recent
> Squid source
> downloaded and extracted, and the patch you wish to apply has been
> downloaded to the same directory, here are the steps to follow (with
> footnotes following the steps):
>
> patch -p0 < name_of_squid_patch *
> cd squid_source_dir
> ./bootstrap.sh **
> ./configure --help ***
>
> * Errors with patches are beyond the scope of this email.
> References on
> failing patches and reject files are available elsewhere.
> ** Pay VERY close attention to the requested version of autoconf and
> automake. I mean it.
> *** To verify that the options added by the patch are available.
>
> Chris
>
>
> I'm using STABLE11. Does this mean the change I want to make to the
> access.log is already a feature within this version of Squid
> and if so how /
> where do I make the change?
>
> Thanks,
> Ric
>
>

Patches available from devel.squid.org are not part of the "stock" Squid 2.5 source. Follow the steps outlined above (or find someone experienced with patching, and have them follow those steps).

It's likely that the custom log patch will mesh just as well with 2.5S11 as it would with 2.5S12. I have no idea how well that will be. Some of the devel patches are no longer maintained, and might require a great deal of work to integrate with a recent version of squid. YMMV and all that.

Chris
Received on Thu Nov 03 2005 - 17:21:25 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST