Re: [squid-users] Separrate access_log

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 07 Oct 2013 17:28:48 +1300

On 7/10/2013 4:54 p.m., Kirill Kamyshnikov wrote:
> I nees separate logging. Squid 3.3.8
>
> access_log daemon:/var/log/squid3/access_fullaccess.log squid fullaccess_users
> access_log daemon:/var/log/squid3/access_fullaccess.log squid fullaccess
> access_log daemon:/var/log/squid3/access.log squid !fullaccess_users
> access_log daemon:/var/log/squid3/access.log squid !fullaccess
>
> After request web page.
>
> access.log
> 1381117717.164 142 10.207.77.4 TCP_MISS/304 397 GET
> http://www.ipchicken.com/images/ipc.gif kam FIRSTUP_PARENT/10.0.1.184
> -

Due to matching "squid fullaccess_users".

>
> access_fullaccess.log
> 1381117717.163 142 10.207.77.4 TCP_MISS/304 397 GET
> http://www.ipchicken.com/images/ipc.gif kam FIRSTUP_PARENT/10.0.1.184
> -

Due to matching "squid !fullaccess"

> kam is member full access_user group. I was waiting entry only in
> access_fullaccess.log file.
> Where is mistake?

Those last two lines should only be one line:

   access_log daemon:/var/log/squid3/access.log squid !fullaccess_users
!fullaccess

Amos
Received on Mon Oct 07 2013 - 04:28:56 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 07 2013 - 12:00:08 MDT