fixed Windows bug in log.t