Preliminary logging for the benchmark.

Currently, just write all the stuff that was previously
being printed to a log file.