Yes, You should specify the branch of the logarithm. The principal branch is the one with a logarithm of a real number remaining real.
Consider equation
$$
n=e^{\log n + i2k \pi}
$$
It really says that the logarithm of a natural number $n \in \mathbb{N}$ is $\log n + i2k \pi$. Here $\log n$ is the "usual" logarithm :D This means, $\log n$ is the value of the logarithmic function on the principal branch, where the logaritm of a real number remains real. That is, $\log_{principal} : \mathbb{R} \to \mathbb{R}$.
Conversely, this is also a definition of a principal branch.
As You can see, You intuitively knew this, because You already understood that $\log n$ in Your second equation is real. However, $\log n$ in all of these equations can be evaluated on any branch, of course, and $k$ can be any integer.
If You are into this, I suggest checking some literature on the Riemann's sphere and Riemann's surfaces. I guess Wikipedia has some info on it. For instance: http://en.wikipedia.org/wiki/Riemann_surface#Examples. This may elucidate the concept of branches and branch points pairs a bit better.
Regards.