The ResetLog function sets the number of rows in a log to 0, which means that it overwrites the column headers. So the first time you use a log and save it you get the column headers, but if you reset the log to use it again, say to record the results from a different testing file, the number of rows is set to 0 and the headers disappear.