Log ping failure and success