No, any tradition that favors one gender over the other is sexist. Which is absolutely the case with the tradition of women taking their husband's family name when they get married.