Client log bug fix

On larger tests, multiple logs would be produced due to the time it took
to write to the file. Changed to only take 1 time sample and only use
that file for each run of the program.