Logging interface; debug messages; tests/ping.cpp: shorter delay