
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.
- Open the Console application
- Go to File > Open and browse to your
frontend_dev.logor desired log file in the symfony logs directory - Click
Show Log Listand select your newly opened file to avoid the clutter of the rest of the OS logs - You’re done! You can now take advantage of features like clearing the view, search, and more
7 Comments
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
Nice, thanks for the tip! Didn’t know the -f option.
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/ .
by the way G, your blog commenting system is awesome!!
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 :/
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.