The log alternative (to print)
As an alternative to dumping to the cli for debugging and event notifications, Sean Gillies has a write-up about tweaking the log output to do some of the following.
Log messages can be sent to single files on disk, rotating log files, sent to SMTP servers — you could probably even create your own XMPP handler.
But some of the best work in the post occurs in the comments…
