mTrans:  output logs to log.txt