I was playing around with Euler's identity
$$\begin{align}e^{i\pi}&=-1\\\\\frac{\log{(-1)}}{i}&=\pi\\\\\frac{x \log(-1)}{i}&=\pi x \end{align}$$
And when I had $x=2$
$$\frac{\log(1)}{i}=2\pi$$Which is equivalent to $$\frac{0}{i}=2\pi$$
How can this be?
When considering complex numbers, the usual rules about logarithms and exponentials do not apply. For example, $e^{2\pi i} = 1 = e^0$, even though $2\pi i \neq 0$. Most notably in this case, the rule $a\ln{b} = \ln(b^a)$ is not true when $b$ is not a positive real or when $a$ is not real. So it's not correct to say that $2\ln(-1) = \ln{1}$.
The logarithm and exponential rules you were taught in intro algebra (e.g., $b\log(a) = \log(a^b)$ and that $a^b = a^c$ if and only if $b = c$) are true only for real numbers. Introducing complex numbers significantly complicates the issue: since $e^x$ is no longer a one-to-one function, it's questionable what exactly $\ln$ means. This is solved by something called branch cuts, but there isn't a way to define $\ln$ so that all of the usual log rules apply.