Quick Tip: Use console.app to view MAMP logs in OSX

I've been using this little tip for so long now that I forgot how to do it, until I showed someone here at work how to do it.  You can use the standard console application that ships with OS X to view any type of log file.  Its not obvious how to do this since there is no interface to add a new log file, but once you figure it out, it couldn't be any easier.

  1. Open up a terminal.
  2. cd ~/Library/Logs
  3. ln -s /Applications/MAMP/logs MAMP
  4. Open console.app and you will now see MAMP in the ~/Library/Logs tree

OSX console.app displaying Apache, MySQL and PHP error logs from MAMP

Posted at 3:13 pm on July 7, 2009 — Tags: development | drupal | MAMP

4 Responses

akahn

Good tip. I generally use $ open -a Console file.log for this task.(Why are <p> and <br> tags not allowed?)

1
Jul 9, 2009 3:47 pm
Mark

Good tip, thanks!

2
Jul 10, 2009 8:08 am

thank you..

3
Apr 10, 2010 6:41 pm

A young boy and his dad went out fishing one fine morning. After a few quiet hours out in the boat, the boy became curious about the world around him. He looked up at his dad and asked "How do fish breath under water?"His dad thought about it for a moment, then replied, "I really don't know, son."The boy sat quietly from another moment, then turned back to his dad and asked, replica Hermes Watches"How does our boat float on the water?"Nnce again his dad replied, "Don’t know, son."Pondering his thoughts again, a short while later, the boy asks "Why is the sky blue?"Again, his dad replied. "Don’t know, son."The inquisitive boy, worried he was annoying his father, asks this time "Dad, do you mind that I'm asking you all of these questions?""Of course not son." replied his dad, "How else are you ever going to learn anything?"

4
Jun 25, 2010 5:54 am

Post new comment

  • You can use some basic HTML in your posts
  • I will never publish your email address.
  • If you have a Gravatar associated with your email address, it will be used.
  • If you are putting spammy links in your posts, the entire post WILL be deleted.