First of all I have a small request. I was banned for a very long time because I got lazy and formulated my questions without any effort. I accept the punishment and I'm happy I got a second chance. From now on I try to put as much effort in my questions as possible. This is my first question after the ban and it would make me happy if you don't down-vote if you think that my question is not good or not understandable since I'm probably getting banned again. Please write suggestions for improvement in the comments. Thank you and sorry for this way too long introduction. So here we go :)
What do I want to solve?
I want to calculate $$I = \cfrac{1}{2\pi i}\int \limits_{c-i\infty}^{c+i\infty}\cfrac{\log(s-1)}{s^2}\,x^s \mathrm{d}s,$$ where $c>1$ along the same contour as in "Applications of integral theorems", example 5: https://en.wikipedia.org/wiki/Contour_integration#Example_5_–_the_square_of_the_logarithm. To implement our integral $I$ we modify our desired closed contour integral to $$\oint_\mathcal{C}= \left(\int_{R_1}+\int_{R_2}+\int_M+\int_N+\int_r+\int\limits_{c-i\infty}^{c+i\infty}\right)\cfrac{\log(s-1)}{s^2}\,x^s\mathrm{d}s,$$ where$R_1$ ends at $c+i\infty$ and $R_2$ ends at $c-i\infty$. The whole integral is actually an Inverse laplace transform, if we define $t=\log(x)$. If we put $\frac{\log(s-1)}{s^2}$in this online calculator https://www.emathhelp.net/calculators/differential-equations/inverse-laplace-transform-calculator/?f=ln%28s-1%29%2Fs%5E2 we get $-t\operatorname{Ei}(t)+e^t-1 \Longleftrightarrow-\log x\operatorname{li}(x)+x-1$.
How I tried to solve it
The integrals $R_1,R_2$ and $r$ tend to zero (I use the same notation as in the Wikipedia link). The closed contour is also equal to zero since $0$ is excluded from the contour. After parameterizing $s=-s_\mathcal{R}+i\varepsilon$ for $M$ and $s=-s_\mathcal{R}-i\varepsilon$ for $N$ we get: $$I + \int\limits_{0}^{\infty}\cfrac{\log\lvert-s_\mathcal{R}+i\varepsilon-1\rvert + i\pi}{(-s_\mathcal{R}+i\varepsilon)^2}\,x^{-s_\mathcal{R}+i\varepsilon}\mathrm{d}s_\mathcal{R}- \int\limits_{0}^{\infty}\cfrac{\log\lvert-s_\mathcal{R}+i\varepsilon-1\rvert - i\pi}{(-s_\mathcal{R}-i\varepsilon)^2}\,x^{-s_\mathcal{R}-i\varepsilon}\mathrm{d}s_\mathcal{R} = 0$$ If we now let $\varepsilon\rightarrow0$ we can also evaluate the absolut value. Our new expression is $$\begin{align} I + \int\limits_{0}^{\infty}\cfrac{\log(s_\mathcal{R}+1) + i\pi}{s_\mathcal{R}^2}\,x^{-s_\mathcal{R}}\mathrm{d}s_\mathcal{R}- \int\limits_{0}^{\infty}\cfrac{\log(s_\mathcal{R}+1) - i\pi}{s_\mathcal{R}^2}\,x^{-s_\mathcal{R}}\mathrm{d}s_\mathcal{R} =0, \end{align}$$ which is the same as saying that $$I = -2\pi i\int\limits_{0}^{\infty}\cfrac{1}{x^{s_\mathcal{R}}s_\mathcal{R}^2}\mathrm{d}s_\mathcal{R}$$ And now the disappointment: If I put "integral from 0 to infinity of 1/(a^x*x^2)" into Wolfram Alpha it returns "(integral does not converge)". I can't find the mistake I did while evaluating. Please give me a small hint what I should correct to get the desired result. Thank you :)!
Edit: I want to thank Maxim for helping me with my question. My mistake was the definition of the branch of $\log(s-1)$. Now I (only) have to solve $$\lim_{\varepsilon\to0}\left(\int\limits_{0}^{\infty}\cfrac{\log\lvert-s_\mathcal{R}+i\varepsilon-1\rvert + i\pi}{(-s_\mathcal{R}+i\varepsilon)^2}\,x^{-s_\mathcal{R}+i\varepsilon}\mathrm{d}s_\mathcal{R}- \int\limits_{0}^{\infty}\cfrac{\log\lvert-s_\mathcal{R}+i\varepsilon-1\rvert - i\pi}{(-s_\mathcal{R}-i\varepsilon)^2}\,x^{-s_\mathcal{R}-i\varepsilon}\mathrm{d}s_\mathcal{R}\right),$$ what could get a little bit hard since I'm not allowed to set $\varepsilon$ to $0$ immediatly.