Looking for web server logs

Web hosting discussion, programming, and shared and dedicated servers.
3 posts Page 1 of 1
by lr » Mon Mar 07, 2022 12:44 am
Dumb question. The web server logs used to be on the shell machine in /var/log/httpd/<username>, and perhaps (judging by some forum posts) in /var/log/httpd/by_user/<username>, or for error messages in /var/log/httpd/custweb/. The latter directory seems to no longer exist. The /var/log/httpd/... directories seems to exist, but I'm getting "permission denied" inside it, even when accessing my own directory /var/log/httpd/lr and /var/log/httpd/by_user/lr.

Note that we have a custom domain; I have an old script that used to look in /var/log/httpd/lr/lr.los-gatos.ca.us ... same answer.

Clearly, the logs are still kept somewhere ... webalizer is working. But how do I access the raw logs, to see "who accessed which page when"? I suspect that this is partially my fault, partially the complex permission scheme: I suspect that directories exist but are not searchable, which is why I'm getting "permission denied" errors.
Linda and Ralph and John; 735 Sunset Ridge Road; Los Gatos, CA 95033; 408-395-1435
by joemuller » Mon Mar 07, 2022 5:10 pm
Hi, it looks like the web logs have moved over to /logs/by_user/ on the shell server - there should be a folder for each domain. If you have any personal scripts that are looking in the old /var/log locations, you'll need to enter in the new path.
I'm a proud employee of Sonic.net! :-)
by lr » Sat Mar 19, 2022 10:16 pm
Thank you, found them there!
Linda and Ralph and John; 735 Sunset Ridge Road; Los Gatos, CA 95033; 408-395-1435
3 posts Page 1 of 1

Who is online

In total there are 18 users online :: 0 registered, 0 hidden and 18 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 18 guests