Better default handling of error messages in log.