Logger.js: - fix bug in resetting logfile   could not write to logfile after resetting!
Logger.js:
- fix bug in resetting logfile
  could not write to logfile after resetting!

threadvis/ThreadVis,threadvis/ThreadVis,threadvis/ThreadVis