Change logging to append

I changed the logging to append, rather than truncate. I believe people will be expecting log information to not be wiped between runs.

This is a reopen of #62 & #61