Show Posts
← Back to homepage


Not a big fan of the Web Developer toolbar? Me either! But I do use the logging system quite a bit. Thankfully, OS X ships with an useful application called Console that comes to the rescue.

  1. Open the Console application
  2. Go to File > Open and browse to your frontend_dev.log or desired log file in the symfony logs directory
  3. Click Show Log List and select your newly opened file to avoid the clutter of the rest of the OS logs
  4. You’re done! You can now take advantage of features like clearing the view, search, and more :)

7 Comments

b00giZm said

And for those people that don’t need an UI and prefer a more geeky approach:

Open Applications > Utilities > Terminal

> cd /path/to/project

> tail -f log/frontend_dev.log
;)

Greetz, b00giZm

    Guillermo Rauch said

    Nice, thanks for the tip! Didn’t know the -f option.

Scott said

i use tail -f too. One thing I’ve been playing around with is a firebug plugin for symfony called fireSymfony which will take your log and put it in a new tab in firebug. It’s pretty great, but i’m not sure if i will use it for all of my projects. http://www.symfony-project.org/plugins/firesymfonyPlugin and https://addons.mozilla.org/en-US/firefox/addon/9096/ .

    Scott said

    by the way G, your blog commenting system is awesome!!

    Guillermo Rauch said

    It’s good, but I found that it clutters your console a bit too much. Plus, when it comes to Firefox / Firebug updates, everything breaks, and most of the time FirePHP is not working for me :/

    Guillermo Rauch said

    Sweat and tears went into refactoring WordPress commenting system into this (and I still have bugs to squash!). Badly written PHP all over :(

I don’t know how to thank you. This is a great tip and saved me hell out of time.

Thank you.

Your thoughts?

About Guillermo Rauch:

CTO and co-founder of LearnBoost, developer, open source enthusiast, blogger.