log the items found by the query