Chris Robertson wrote, On 5/16/2008 3:24 AM:
Bashar wrote:
Hello,
I have configured squid to be protected by user/pass using:
auth_param basic program /usr/local/libexec/squid/ncsa_auth
/usr/local/squid/squid_passwd
i was wondering is it possible to know the users who accessed the
links from the users locates at squid_passwd ?
Squid's native access.log reporting shows IP Address (in column 3) and
the login (in column 8).
Best regards,
Bashar
Chris
# ls -al /usr/local/squid/logs/
total 26760
drwxr-x--- 2 squid squid 512 May 15 05:16 .
drwxr-xr-x 4 root wheel 512 Feb 16 10:12 ..
-rw-r----- 1 squid squid 0 Dec 31 20:07 access.log
-rw-r----- 1 squid squid 66958 May 13 08:47 cache.log
-rw-r--r-- 1 squid squid 4 Jan 13 08:50 squid.pid
-rw-r----- 1 squid squid 27306486 May 14 17:36 store.log
i wonder why access.log size is 0 since last Dec, here are my entries from squid.conf:
# TAG: cache_access_log
# Logs the client request activity. Contains an entry for
# every HTTP and ICP queries received. To disable, enter "none".
#
#Default:
# cache_access_log /usr/local/squid/logs/access.log
# TAG: cache_log
# Cache logging file. This is where general information about
# your cache's behavior goes. You can increase the amount of data
# logged to this file with the "debug_options" tag below.
#
#Default:
# cache_log /usr/local/squid/logs/cache.log
# TAG: cache_store_log
# Logs the activities of the storage manager. Shows which
# objects are ejected from the cache, and which objects are
# saved and for how long. To disable, enter "none". There are
# not really utilities to analyze this data, so you can safely
# disable it.
#
#Default:
# cache_store_log /usr/local/squid/logs/store.log