Logging exceptions with log.error and log.exception

- It is easy to pull out the stacktrace with log.exception.