The equation rewrites (which may depend on the determination of the complex logarithm), so you are first reduced to solving for , which is a classic one (decompose w in real and complex parts if you don't know the answer already).

You'll find that the final answer actually doesn't depend on the determination of the logarithm.