In 1.6, there is the ErrorLogHandler , sometimes very useful