Write log to file when executing performance test.