added logging to pinger. Fixes #8