I can see it is right by using some knowledge of the Gamma function. We have
$$ \Gamma(\alpha ) = \int_0^\infty e^{-x} x^{\alpha - 1 } dx . $$
Differentiating with respect to $\alpha$, we get
$$ \frac{d\Gamma}{d \alpha} = \int_0^\infty e^{-x} x^{\alpha - 1 }\ln x dx . $$
Setting $\alpha = 1 $, we get
$$ \int_0^\infty e^{-x} \ln x dx = \frac{d\Gamma}{d\alpha }\bigg|_{\alpha = 1 }= - \gamma. $$
But the knowledge $d \Gamma/d \alpha |_{\alpha = 1}=-\gamma$ is a mystery to me.
Can anyone find an elementary proof?