> BTW, I've been wanting a really good generic library to handle unexpected exceptions I've had really good luck with Mongoose (http://themongoose.sourceforge.net/). You register exception handlers for uncaught exceptions. It comes with one that does logging, one that emails, etc. One other interesting feature is that it hashes the exception type, file name, function name, and other stuff to generate a "Mongoose Incident Identifier(TM)" so you (theoretically) have a unique identifier for each independent bug.