Log a message on connect.