Logging around a point of failure