You can do it that way, but why? Squint provides you with a shell program that will do your access logs for you. "squint.cron.sh" - you just edit this file to make the $BASEDIR variable point to your desired output directory (your web server) - on my system this is /var/www/html/squint - and place your userlist in the "lists" directory under that. Squint.cron.sh finds it automatically. the file should be called "userlist", not "userlist.txt".
the command is "squint.cron.sh all" or "squint.cron.sh regen" if you want to skip the shell program and run squint.pl yourself, you can do this: cat access.log | squint.pl /outputdir/ userlist where outputdir is your HTML directory and userlist is the actual file name for your user list. HTH --AB -----Original Message----- From: Victor Medina [mailto:[EMAIL PROTECTED] Sent: August 19, 2004 12:32 PM Cc: Payal Rathod; squid users Subject: RE: [squid-users] log analysers This is a little off topic, but, how do i make squint read a list of users? I am using: cat access.log|squint.pl /dir/ userfile userlist.txt Is this right? On Thu, 2004-08-19 at 09:25, Angela Burrell wrote: > I use "squint". It generates HTML output of the users and the amount of > bandwidth in time or KB/MB. The users are the local IP address of the > machine accessing the site. > > Because of the HTML it only works if you have Apache or another Web server > installed, but it's very user friendly and easy to set up. > > -----Original Message----- > From: Payal Rathod [mailto:[EMAIL PROTECTED] > Sent: August 19, 2004 12:36 AM > To: Squid ML > Subject: [squid-users] log analysers > > > Hi, > I rotate my squid logs daily. Do we have any log analysers which will > tell which site is accessed by whom? I want something like a list of > users along with the sites accessed by them daily. AFAIK, calamaris does > not do such a thing. > > With warm regards, > -Payal >
