Log text queries