In a problem I am doing, it boiled down to an integral that resulted in $$\ln(x+1\text{ m})\Big|_{x=0\text{ m}}^{x=3\text{ m}}$$ this is basically just $${\color{red}{\ln(4\text{ m}) - \ln(1\text{ m})}} = {\color{blue}{\ln\left(\frac{4\text{ m}}{1\text{ m}}\right)}} = \ln(4)$$
Obviously, when you you do use logarithm properties to combine the logarithms (blue), the units cancel out and we can a unitless value.
However, if we don't (red), how do the units work in this case? We'd have units of $\ln(\text{meters})$, which doesn't seem to make sense as this is supposedly equivalent to a unitless value.
What am I missing?