I would like to compute
$$\large \int_{0}^{1}\frac{1-x(1-\ln x)}{x\ln^2 x}\cdot \ln(1-x)\mathrm dx$$
making a substitution
$\large x=e^{-u}$
$$I=\int_{0}^{\infty}\frac{1-(1+u)e^{-u}}{u^2}\cdot \ln(1-e^{-u})\mathrm du$$
but find this $I$ impossible to transform it into a simple form.
I would like a hint please.
Denote, for $a>0$, $$f(a) = \int_0^\infty {\frac{{1 - (1 + x){e^{ - x}}}}{{{x^2}}}{e^{ - ax}}dx}$$ Then $$f''(a)=\int_0^\infty {\left[ {1 - (1 + x){e^{ - x}}} \right]{e^{ - ax}}dx} = \frac{1}{{a{{(1 + a)}^2}}}$$ Hence $$f'(a)=\frac{1}{{1 + a}} + \ln \frac{a}{{1 + a}} + {C_1}$$ for some constant $C_1$, the fact that $f'(a) \to 0$ as $a\to \infty$ gives $C_1=0$. Integrate again gives $$f(a) = a\ln \left( {\frac{a}{{1 + a}}} \right) + C_0$$ the fact that $f(a) \to 0$ as $a\to \infty$ gives $C_0=1$.
$$\begin{aligned} \int_0^\infty {\frac{{1 - (1 + x){e^{ - x}}}}{{{x^2}}}\ln (1 - {e^{ - x}})dx} &= - \sum\limits_{n = 1}^\infty \int_0^\infty{\frac{{1 - (1 + x){e^{ - x}}}}{{n{x^2}}}{e^{ - nx}}}dx \\ &= -\lim_{N\to\infty} \sum\limits_{n = 1}^N {\frac{1}{n}\left[ {n\ln \left( {\frac{n}{{1 + n}}} \right) + 1} \right]} \\ &= \lim_{N\to\infty} \left[ \ln (1 + N) - {H_N} \right] = - \gamma \end{aligned}$$ the exchange of sum and integral is permitted by dominated convergence theorem, note that the finite sum telescopes.