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)?
The fastest way to prove this is using Frullani's theorem, as you've seen in the comments, but you can also use a double integral to quickly solve this problem (which is one method how Frullani's theorem is proven). $$I=\int_0^{\infty} \frac{e^{-t}-e^{-tx}}{t} \; dt = \int_0^{\infty} \frac{1}{t}\int_{1}^{x} te^{-tw} \; dw \; dt$$ Where $w$ and $t$ are dummy variables. Now switch the order of integration: $$I=\int_1^x \int_0^{\infty} \frac{1}{t} \cdot te^{-tw} \; dt \; dw= \int_1^x \int_0^{\infty} e^{-tw} \; dw \; dt\int_1^x \frac{1}{w} \; dw = \boxed{\ln{x}}$$
You can generalize this to the $\int_0^{\infty} \frac{f(ax)-f(bx)}{x} \; dx$. Following these steps, you should see that the generalized integral is just $$[f(\infty)-f(0)] \ln{\left(\frac{b}{a}\right)}$$