On 05/05/2011, at 9:06 AM, Farokh Irani wrote:
> I don't have any specific access_log config line, but that's not the issue. The access log file is being created but the entries aren't in the format I've specified.
>
That is the cause of your issue. If there is no access_log configuration specified it will use the default - http://www.squid-cache.org/Doc/config/access_log/. You need to tell squid to use your logging format as Amos described below.
> Thanks.
>
> Amos Jeffries wrote:
>> On Wed, 04 May 2011 13:34:01 -0400, Farokh Irani wrote:
>>> I've got the following entry in my squid.conf file:
>>>
>>> logformat ourlogformat %tl %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt
>>>
>>> But the access.log entries look like this:
>>> 1304530209.280 2765 x.x.x.x TCP_MISS/200 306 POST https://xxxxx? -
>>> DIRECT/x.x.x.x text/html
>>>
>>> It doesn't seem to be using the logformat I specified, and I'm not
>>> sure why.
>>>
>>> Any ideas?
>>
>> Did you use it to format that output file?
>> access_log /path/to/file ourformat
>>
>> http://www.squid-cache.org/Doc/config/access_log/
>>
>> Amos
>
> --
> Farokh Irani
> farokh_at_itouchpoint.com
> Skype: farokhitp
> Phone: 914-262-1594
>
This archive was generated by hypermail 2.2.0 : Thu May 05 2011 - 12:00:02 MDT