add log for search result.