On 14 Apr 2006, at 11:18, Cayz James ((DOS)) wrote:
> All,
>
> My co-worker and I have gotten a squid server running as a
> transparent =
> proxy, no cache.
>
> How can we stop the access.log file from filling up with TCP_MISS
> (TCP_MISS/304?) entries - we *know* they missed the cache, we turned
> caching off!!!
>
> Thanks for any advice.
>
> James
>
> ----------
> Telecommunications / Network Technologist I
> Delaware Department of State
>
> Email: james.cayz@state.de.us
> Office: 302-744-5029
> DE SLC: D575B
> USPS: Room 204
> Delaware Public Archives
> 121 Duke of York St
> Dover, DE 19901-3638
>
Hi
The answer depends on why do you want to do this... e.g.:
a) You don't care about what's in the access log, you just want to
turn off logging so that you don't get an ever-growing file
b) You do care about the access log, but the format with the extra
squid-specific information doesn't work with your log analyser
c) You do care about the access log, but you want to prune the
"meaningless" information for aesthetic reasons
Or... something else?
If I were you I'd probably keep the log going - it's useful
information - and if you really need it in another format, write a
script to manipulate it (I'd use awk).
You could also try adding this to your squid.conf and see if you like
that format better:
emulate_httpd_log on
Cheers
Doug
Received on Thu Apr 13 2006 - 21:10:01 MDT
This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT