The cited passage goes on to explicitly mention that the same probability mass falls in each decade: $[1,10]$, $[10,100]$, $[100,1000]$, ... Equivalently, the same probability mass falls in each octave: $[1,2]$, $[2,4]$, $[4,8]$, ... Equivalently, the same probability mass falls in each partition by integer powers of a positive constant different from $1$.
In the text between (2.236) and (2.237), we have the text
The parameter $\sigma$ is known as a scale parameter, and the density exhibits scale invariance.
Scale invariance (in dimension $1$) is a synonym for the previous sentences about power partitions.
Further, at the top of p. 118, we have
If we have a distribution $p(x\mid \lambda)$ governed by a parameter $\lambda$, we might be tempted to propose a prior distribution $p(\lambda) = \mathrm{const}$ as a suitable prior.
The text then explains that might be fine for a discrete parameter, but is (generally) incorrect for a continuous parameter. Ending with
If, however, we are to choose a prior distribution that is constant, we must take care to use an appropriate representation for the parameters.
Taking these together in the context of (2.239), we should be looking for a (re-)parametrization leading to a constant probability density. Since $\sigma > 0$ by assumption, one may parametrize by $ \lambda = \sigma$, $\lambda = \sigma +1$, $\lambda = \sigma^3$, $\lambda = \mathrm{e}^\sigma$, $\lambda = \sqrt{\sigma}$, or any of several other functions of $\sigma$. There is one simple choice for which the probability density is constant for the new choice of parameter : $\lambda = \ln \sigma$. (There are "silly" variations, like $\log_7 \sigma$ or $\ln(2\sigma)$, but these are just obscurations of the plain logarithmic relation.)