Re: [squid-users] Empty access.log

From: Zebu Lebu <zebulebu@dont-contact.us>
Date: Wed, 22 Nov 2006 17:41:42 +0000

Hi Henrik

Thanks for getting back to me.

I have indeed got an entry in the config file for my access log - it reads:

access_log "c:/Squid/var/logs/access.log"

This is the correct location of the logfile.

When i open up the cache.log after startup, i can see that there's a
problem with it, as there's an entry in there which reads:

logfileopen: "c:/Squid/var/logs/access.log": (22) Invalid argument

Any more ideas?

Cheers

On 11/22/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> ons 2006-11-22 klockan 12:31 +0000 skrev Zebu Lebu:
>
> > However, the access.log logfile is blank - no activity has been
> > logged. Do I have to set up authentication for accesses to be logged?
> > I thought that access would be logged irrespective of whether I'd set
> > up authentication but, if I've got this wrong, can someone please let
> > me know?
>
> You need an access_log entry in squid.conf for accesses to be logged.
>
> It's completely unrelated to authentication. Only relation is that on
> authentication the logs will also include a username..
>
> If you have an access_log entry in your squid.conf then check cache.log
> on startup. Perhaps there is a permission issue or similar.
>
> Regards
> Henrik
>
>
>
Received on Wed Nov 22 2006 - 10:41:45 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST