  We determine the structure of the singular locus of generic codimension-$q$
logarithmic foliations and its relation with the unfoldings of said foliations.
In the case where the ambient variety is the projective space $\mathbb{P}^n$ we
calculate the graded ideal defining the scheme of persistent singularities.
