I got the following result using the technique "Integral Milking":
$$\ln(x) = \int_0^\infty \frac{e^{-t}-e^{-xt}}{t} dt= \lim_{n\to0}\left(\operatorname{Ei}(-xn)-\operatorname{Ei}(-n)\right)$$
for $x > 0$. So, I have a proof of it the result, but now I would like to know how to prove starting with either the integral or the limit. I'm not that familiar with the exponenential integral $\operatorname{Ei}(x)$, so my attempts were pretty bad (I'm not so familiar with the technique, but I'm still going to try to differentiate under the integral sign). Personally I have never seen an integral representation of the natural logarithm like this before, and I can't find it anywhere (e.g. here), but WolframAlpha directly gets the limit right.
Question: How do you prove the the integral (or limit) is equal to $\ln(x)$ by starting with the integral (and not using e.g. integral milking)?