Updating discovery to include logging