Re: [squid-users] proxy user logs

From: Simon White <simon@dont-contact.us>
Date: Fri, 5 Apr 2002 18:02:33 +0000

05-Apr-02 at 23:22, Payal (rpayal@indiainfo.com) wrote :
> Hi,
> Thanks for the mails. I tried to use sarg. i configured it properly.
> access_log /var/log/squid/access.log
> was the access tag line.
> But when I run
> [root@localhost sarg]# sarg -f /usr/local/sarg/sarg.conf
> SARG: File not found: /var/log/squid/access.log
> There indeed exists a file called as /var/log/squid/access.log with
> -rw-r----- 1 squid squid 98988 Apr 5 20:02
> /var/log/squid/access.log
> What must be wrong?

Well if you're running sarg as root (unless it drops permissions) then it
should work.

I recommend nonetheless copying the access.log to another directory (so
that it won't be open by the log process) and running sarg on that.

-- 
[Simon White. vim/mutt. simon@mtds.com. GIMPS:61.69% see www.mersenne.org]
Man will never be free until the last king is strangled with the entrails
of the last priest.  -- Diderot
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Received on Fri Apr 05 2002 - 11:02:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:23 MST