Search squid archive

Re: Access log not using logformat config line.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> Skype: farokhitp
> Phone: 914-262-1594
> 

<<attachment: smime.p7s>>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux