# Complex logarithm, my answer is wrong

I am trying to calculate $$\log(-1+i)$$

I have $$\log(-1+i) = \ln|(-1+i)| + i\operatorname{Arg}(-1+i)$$

$$= \ln\sqrt2 + i3\pi/4$$

However when I checked that in matlab and wolfram alpha they have

$$\frac{\ln\sqrt2}{2} + i3\pi/4$$

Can't see what Im doing wrong.

-

In fact Wolfram Alpha returns $\dfrac {\ln 2}2+i\dfrac{3\pi}4$ so that both are equal!