A simple approach to logging exceptions [1]