did you replace it in the objective?
simply replace all log(norm(z)) with log(r) and add [r^2==z'*z,r>=0] if you intend to use a nonlinear local/global solver (which it looks like you have to do, i.e., the problem is not convex)
or replace log(norm(z)) with 0.5*log(z'*z)
which works best is not obvious in a nonlinear solver setting