Php – How to watch logs in real time via Terminal

apache-2.2lamploggingPHPterminal

This is a basic question – in the movie "The Social Network" there are several scenes when the young Facebook staff is watching the PHP/Apache server logs on in their TERMINAL in real time.

I'm familiar with how to do this in a RUBY/RoR environment – but with a standard LAMP Apache/PHP environment, how to do actively monitor your server's actions in real time? I'm guessing there's an easy way to do this in Terminal.

Best Answer

maybe they use tail -f on the access log?