Improved logging formatting and made log file overwritten each run

Fixes issue gh-3