[Logger][testLogger][Fix]Fix the some places that ware pointed out in pull request