Change filetype to .txt

I was having non stop issues trying to open .log files in my browser
and by changing to txt it worked.
Delete existing log file when new one is created

Some users were getting confused when they would open it up and it
would append it to the end of the doc. I thought having a fresh log
each time would help the user.