hi
i am having problem with proxy logs
the log file in /var/log/squid/access.log is having 0 size
i am using red hat linux enterprise edition
squid version->Version 2.5.STABLE6 with default conf file
and it is running but whatever i access from internet it is not recorded..
i even recreated the log file and given full permission.
can anyone help me out..!!??
thanks
Try these:
- Remove full permissions on that file - it's very bad.
- Set the user that runs squid as the owner of the log file and set the permissions to 0640.
- Set the group that owns the log file to whoever you want to be able to read the file.
Then try these tests (stop when you find the problem, they get more fiddly as you go down the list)
- Double-check your config file.
- Switch user to the one running squid and try to write something into the file (echo "test" > /full/pah/to/config.file)
- use lsof to look for the filehandles the running process has open, find where it thinks it should be logging to.