Monitoring your application's health

Awhile ago I ran across Jeff Atwood's post about Exception Driven Development and a line in it really struck home for me..
[...] I'm sorry to be the one to have to tell you this, but you kind of suck at your job -- which is to know more about your application's health than your users do
Basically if you are doing nothing to watch for and report errors that are occuring in your application then you should probably get a horse and live in the woods because everyone hates you.
Okay so that's a bit harsh, everyone has been guilty of this at one point in their career; it's pretty tedious to try and remember to add a log message for every possible error and even if somehow you managed to do so you would still have missed something -- that's why they're called errors, you messed up. So with the understanding in mind that you or I will never be able to catch or foresee every single possible error, I made the Referee plugin for CakePHP 1.3+ to slack off help us out. Its sole purpose is to catch every error, even fatal ones, and log them to the database. Also, because I like to be lazy the first to know about issues, I added some functionality to tie in automated notifications. You can see an example included the sourcecode. The installation takes about five minutes and is really fairly easy after which you should be up and running with all the error catching goodness doing its magic behind the scenes. It'll probably earn you a raise too. If you have any problems or ideas for enhancements feel free to drop me a line on the Github project. Referee Plugin