I expect that you got this as the result of an (indefinite) integration, and $a$ is a constant. Let $a$ be positive. We are taking the ln of
$$\frac{1}{a}\left(\sqrt{u^2+a^2}+u\right).$$
Taking the ln, we get
$$\ln\left(\sqrt{a^2+u^2}+u\right)-\ln a.$$
But $\ln a$ is a constant, so can be absorbed into the constant of integration.
In more detail, if
$$\ln\left(\sqrt{1+\frac{u^2}{a^2}}+\frac{u}{a}\right)+C$$
is the answer to an indefinite integral problem, where $C$ is an arbitrary constant, then
$$\ln\left(\sqrt{a^2+u^2}+u\right)+D$$
is a correct answer to the same problem.
This sort of thing happens a lot, particularly with trigonometric functions. As a simple example, if $\sin^2 x+C$ is "the" answer to an indefinite integration problem, then so is $-\cos^2 x+C'$.