Added ping logging.