Fixed bug where PING was not being written to log correctly.