Skip to main content

Apache real time log location?

Comments

3 comments

  • cPRex Jurassic Moderator
    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
  • Scott Galambos
    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
  • cPRex Jurassic Moderator
    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.