Search squid archive

Only logging DENIED or MISS actions

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

 



On Debian Squeeze 
# squid -v
Squid Cache: Version 2.7.STABLE8
configure options:  '--prefix=/usr' '--exec_prefix=/usr'
'--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib/squid'
'--sysconfdir=/etc/squid' '--localstatedir=/var/spool/squid'
'--datadir=/usr/share/squid' '--enable-async-io' '--with-pthreads'
'--enable-storeio=ufs,aufs,coss,diskd,null' '--enable-linux-netfilter'
'--enable-arp-acl' '--enable-epoll' '--enable-removal-policies=lru,heap'
'--enable-snmp' '--enable-delay-pools' '--enable-htcp'
'--enable-cache-digests' '--enable-underscores' '--enable-referer-log'
'--enable-useragent-log' '--enable-auth=basic,digest,ntlm,negotiate'
'--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-carp'
'--enable-follow-x-forwarded-for' '--with-large-files' '--with-maxfd=65536'
'i386-debian-linux' 'build_alias=i386-debian-linux'
'host_alias=i386-debian-linux' 'target_alias=i386-debian-linux'
'CFLAGS=-Wall -g -O2' 'LDFLAGS=' 'CPPFLAGS='

squid.conf tag: 

access_log /var/log/squid/access.log squid

Logging ONLY register action with DENIED or MISS
Like this:

DENIED/504 1739 GET http://www.site.com/ - NONE/- text/html
MISS/504 1907 GET http://www.site.com/ - DIRECT/200.xxx.xxx.xxx text/html
MISS/504 2074 GET http://www.site.com/ - DIRECT/190.xxx.xx.xx text/html

Any idea?? 
Regards
Rick


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

  Powered by Linux