Commented writing to log.txt