We study domain walls in two different extensions of super Yang-Mills characterized by the absence of a logarithmic term in their effective superpotential. The models, defined by the usual gaugino condensate and an extra field Y, give different patterns of domain walls despite both leading to the same effective limit for heavy Y, i.e. the Veneziano-Yankielowicz effective lagrangian of super Yang-Mills. We explain the origin of those differences and also give a physical motivation for introducing the field Y.