Fix logger. #355