added log-ping to ping-hook