Add simple logs to ping functions