add log message when ping is failed.