Logs the connect()