log the rows