Forwarding Address: OS X

Sunday, February 15, 2004

If you're like me and you do any PHP/Perl/MySQL development on your local machine then you probably spend a lot of time looking at your Apache error logs to determine what's gone wrong with your app. I used to use tail /var/log/httpd/error_log in a Terminal window to do this because it was nice and fast. Used to, that is, until I came across GeekTool:
GeekTool is a PrefPane (System Preferences module) for Panther or Jaguar to show system logs, unix commands output, or images (i.e. from the internet) on your desktop (or even in front of all windows).
With GeekTool and Expose I have even faster access to my error log now: I use GeekTool to dump error_log to the desktop and have set the lower right corner to reveal the desktop in Expose. One-flick log viewing.

Here's how:
1. Install GeekTool
2. Create a new entry
3. Add the path to your error log (in my case: /var/log/httpd/error_log, probably yours too)
4. Set the Location to x:10, y:22

Ta daa! Discuss