Is there a single Apache log of all access?

sneader

Well-Known Member
Aug 21, 2003
1,194
62
178
La Crosse, WI
cPanel Access Level
Root Administrator
I was troubleshooting a problem this morning... clearly httpd was getting hit hard, but I wasn't sure what pages/domain was causing it.

I understand there is the "access_log" at /usr/local/apache/logs but that is only for access information when the user is going to the hostname or the IP of the server itself. It does not log access for any of the customer domains on the server.

And I understand that I can look at any of the customer's access logs at /usr/local/apache/domlogs.

But what if don't know which domain is causing the problem?

Must be an easy answer, but I'm stumped at the moment. :)

- Scott
 

sneader

Well-Known Member
Aug 21, 2003
1,194
62
178
La Crosse, WI
cPanel Access Level
Root Administrator
Thanks for the idea. However, I don't know what to search for. That is sort of the problem. Sometimes, when you see a lot of httpd activity going on, it would be nice to know what is causing it.

If you are troubleshooting mail server issues, you can tail -f /var/log/exim_mainlog and learn a lot about what is going on, in realtime. I was sort of looking for the same thing, for httpd.

- Scott