search
top

CakePHP Logging and the MacOSX dashboard

Here’s a hint for all you mac bakers: If you use the debug and error log files in your “tmp” directory or not. There is a very handy widget that helps you to keep track of their contents.

It’s called tailDash and basicly shows a black tinted window containing the last X lines of a file. Hence the name “tail” which is probably known to linux console users. You can have multiple instances each covering a file of your choice (slowquery.log anyone?).

All you need to do is to add the widget to your dashboard and jump into the config panel by clicking the little (i) button on the top right corner. You will then see the config panel which looks like this:

Default
There is a small dropdown on the bottom left where you can choose which system log to display. But there’s also a “advanced” option. Of course we go advanced, since this allows us to type in a full path to any file on the computer.

Setup
Now you know what to set. Feel free to play with the display options like color and opacity. You could use the color to label which project the output belongs to for example..

Homepage & Download:
tailDash @ protagonist.co.uk

Enjoy!

Leave a Reply

top