$$\int_0^\infty \frac{\ln x}{x^2+2x+2}dx$$ A question similar to this one has been asked before here, but there the quadratic doesn't have a constant term.
I tried to use completing the square and use the answers in the linked question but since the log term in the numerator has $x$ not $x+1 $(after completing the square the quadratic is $(x+1)^2 + 1$) so that doesn't seem to work.
I tried to use $x+1 = \tan t$ then we have $$ I = \int^{\pi/2}_{\pi/4} \ln (\tan t-1) dt $$ We can use $$ \int_a^b f(x)dx = \int_a^b f(a+b-x) dx $$ so we have $$ I = \int^{\pi/2}_{\pi/4} \ln (\tan t-1) dt = \int^{\pi/2}_{\pi/4} \ln (\tan \left(\frac{\pi}{4}+\frac{\pi}{2} - t\right)-1) dt $$ but we know $$ \tan \left(\frac{\pi}{4}+\frac{\pi}{2} - t\right) = \frac{\tan\left(\frac{3\pi}{4}\right)-\tan t}{1+\tan\left(\frac{3\pi}{4}\right)\tan t}=\frac{-1-\tan t}{1-\tan t} $$ so the argument for the last integral is $$ \int^{\pi/2}_{\pi/4} \ln (\tan \left(\frac{\pi}{4}+\frac{\pi}{2} - t\right)-1) dt =\int^{\pi/2}_{\pi/4} \ln\left(\frac{-1-\tan t}{1-\tan t}-1\right)dt = \int^{\pi/2}_{\pi/4} \ln\left(\frac{1+\tan t}{\tan t-1}-\frac{\tan t-1}{\tan t-1}\right)dt $$ or finally $$ I = \int^{\pi/2}_{\pi/4} \ln\left(\frac{2}{\tan t-1}\right)dt = \int^{\pi/2}_{\pi/4} \ln 2 dt - \int^{\pi/2}_{\pi/4} \ln (\tan t-1) dt = \ln 2 \int^{\pi/2}_{\pi/4} dt - I $$ so we get $$ 2I = \ln 2\left(\frac{\pi}{2}-\frac{\pi}{4}\right) = \frac{\pi \ln 2}{4} $$ or finally $$ I = \frac{\pi \ln 2}{8} $$