Add log4j.properties and save logs to a file

The output from the driver is directed to stderr and a unique file name is used for each benchmark.