Fix to logging data

Data on subsequent runs were not being captured