discovery: better logging