Evaluate $$I =\int_0^{\infty}\frac{(1+x^2) \ln^2x}{1+x^4}dx$$
I didn't think much and applied integration by parts. After applying ibp repeatedly, I got stuck at this integral $$\int \frac{\ln^2(x)}{1+\left(\frac{x-\frac{1}{x}}{\sqrt{2}}\right)}dx$$
I wasn't able to find an elementary anti-derivative of this function. I can apply ibp at this point too, but the things will go very lengthy and complicated from here.
I was wondering if there is some another method (obviously simpler) for this problem.
Any help is greatly appreciated.