Apache real time log location?
Where exactly in cpanel v92.0.6 are the real time apache hits? I look at /usr/local/apache/domlogs/xxx.log where xxx is my site and I never see the log as I test hit the site. Why? /home/user/access_logs/xxx.log isn't it either. where do this hits get actually logged so I can watch in real time what hits are coming in???
-
Hey there! For Apache traffic in real-time the domlogs are the way to go. However, you'll want to make sure you get the correct version as there are usually two files for each site: /etc/apache2/logs/domlogs/username/domain.com /etc/apache2/logs/domlogs/username/domain.com-ssl_log If your site redirects traffic to SSL you'll want to watch the -ssl_log version of the domlog file to see the traffic in real-time. 0 -
But it doesn't work. I got /etc/apache2/logs/domlogs/hydes and type tail -f *, then I hit any site and not a single thing comes up. no logs move at all. what am I missing? 0 -
That should work, and I confirmed it does work on a test server I created. Is it possible the site you are checking isn't routed to the server in question? If that is routed correctly, it may be worth submitting a ticket as there could be some additional problems on the machine that are keeping Apache from properly logging. 0
Please sign in to leave a comment.
Comments
3 comments