Logging for handshakes.