added logging to node discovery/search