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.