Re: [squid-users] Content-Type log erro

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 21 May 2010 18:12:43 +1200

Romulo Boschetti wrote:
>
> Hi,
>
> The content-type field in the access.log is always "-" character.
>
> The only time I saw "text/html" is when your request is deny.
>
> Linux CentOs 5.4
> Squid Cache: Version 2.7.STABLE5
>
> some squid.conf parameters:
>
> emulate_httpd_log off
> acl video rep_mime_type -i ^video/*$
> http_reply_access deny video
> logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
> access_log /var/log/squid/access.log
>
> I tried several configuration and I always get the same result.
>
> I have found the Bug http://bugs.squid-cache.org/show_bug.cgi?id=2298 , but i dont have find more
> information about resolution of this Bug. And I dont have found any information about solution in the
> version squid-2.7.STABLE5+ .
>
> Thanks

Re-defining the "squid" format is not a good idea.
Try removing the "logformat" line from your config file, leaving
everything else untouched.

Please report back even if that fixes it. I suspect you have found a bug
in the custom format handling.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Fri May 21 2010 - 06:13:32 MDT

This archive was generated by hypermail 2.2.0 : Fri May 21 2010 - 12:00:05 MDT