Apache error logs on OSX Mavericks

So, if you are wondering why one of your php based application silently dies; its best to look at the apache error logs on OSX.

On Mavericks the last few lines of the error log can be viewed by using this command

tail -f /private/var/log/apache2/error_log

“tail” means that it will display the logs trailing at the end of the error log.

Press control + c to exit

Hope this helps someone.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s