How to evaluate $\int _0^{\infty }\frac{\ln \left(x^3+1\right)}{\left(x^2+1\right)^2}\:dx$ without complex analysis This particular integral evaluates to,
$$\int _0^{\infty }\frac{\ln \left(x^3+1\right)}{\left(x^2+1\right)^2}\:dx=\frac{\pi }{8}\ln \left(2\right)-\frac{3\pi }{8}+\frac{\pi }{3}\ln \left(2+\sqrt{3}\right)-\frac{G}{6}$$
And its been proven here.
But i'd like to know how to evaluate this without complex analysis.
One of the answers uses differentiation under the integral sign directly and partial fraction decomposition on a similar integral, but doing it that way doesnt help me with this case here
I tried to evaluate this way but got stuck,
$$\int _0^{\infty }\frac{\ln \left(x^3+1\right)}{\left(x^2+1\right)^2}\:dx=\int _0^1\frac{\ln \left(x^3+1\right)}{\left(x^2+1\right)^2}\:dx+\int _1^{\infty }\frac{\ln \left(x^3+1\right)}{\left(x^2+1\right)^2}\:dx\:\:\:\:\:\: \text{then sub}\:\:x=\frac{1}{t}\:\:\text{for the 2nd integral}$$
$$=\int _0^1\frac{\ln \left(t^3+1\right)}{\left(t^2+1\right)^2}\:dt+\int _0^1\frac{t^2\ln \left(t^3+1\right)}{\left(t^2+1\right)^2}\:dt-3\int _0^1\frac{t^2\ln \left(t\right)}{\left(t^2+1\right)^2}\:dt$$
$$=\int _0^1\frac{\ln \left(t^3+1\right)}{t^2+1}\:dt+3G+3\int _0^1\frac{\ln \left(t\right)}{\left(t^2+1\right)^2}\:dt$$
I managed to evaluate the last integral expanding the denominator but i cant think of a way to evaluate the 1st integral, please help me.

With subbing $t=\frac{1-x}{1+x}$ we have
$$\int_0^1\frac{\ln(1+t^3)}{1+t^2}dt=\int_0^1\frac{\ln\left(\frac{2(1+3x^2)}{(1+x)^3}\right)}{1+x^2}dx$$
$$=\ln2\int_0^1\frac{dx}{1+x^2}+\int_0^1\frac{\ln(1+3x^2)}{1+x^2}dx-3\int_0^1\frac{\ln(1+x)}{1+x^2}dx$$
where the first integral
$$\int_0^1\frac{dx}{1+x^2}=\arctan(1)=\frac{\pi}{4},$$
and the second integral is already calculated in the comments by Dennis or it can be found calculated in details by Zacky in this solution (see the integral $J$);
$$\int_0^1\frac{\ln(1+3x^2)}{1+x^2}dx=\frac{\pi}{3}\ln(2+\sqrt 3)+\frac{\pi}{4}\ln 2-\frac53G.$$
For the third integral, let $x\mapsto \frac{1-x}{1+x}$
$$\int_0^1\frac{\ln(1+x)}{1+x^2}dx=\int_0^1\frac{\ln\left(\frac{2}{1+x}\right)}{1+x^2}dx=\ln2\int_0^1\frac{dx}{1+x^2}-\int_0^1\frac{\ln(1+x)}{1+x^2}dx$$
$$\Longrightarrow \int_0^1\frac{\ln(1+x)}{1+x^2}dx=\frac{\pi}{8}\ln2$$
Combine the three results we have
$$\int_0^1\frac{\ln(1+t^3)}{1+t^2}dt=\frac{\pi}{3}\ln(2+\sqrt 3)+\frac{\pi}{8}\ln 2-\frac53G.$$
All credit goes to Zacky and Dennis for evaluating the second integral as its the key to crack the integral in the question.
