Monitor your web traffic in real time
My First OS X Web Server tip is also my favorite. Have you ever wanted watch your web traffic in real time? It turns out its not all that hard.
*** Caution this tip is highly addictive.
Open a Terminal window (Applications -> Utilities - > Terminal)
![]()
Type:
tail -f /var/log/httpd/access_log
Once you hit enter you will be monitoring the end of your apache access log in real time. I love this trick, its a real eye opener.
You can use this trick on other files too, I like watching my error logs every once in a while to make sure everything is running smoothly.
Some other files this is fun on:
tail -f /var/log/httpd/error_log
tail -f /var/log/mail.log
tail -f /var/log/ftp_log
tail -f /var/log/system.log
tail -f /Library/Logs/CrashReporter/httpd.crash.log
tail -f /Library/Logs/panic.log