Log the data