Compute the following integral from $0$ to $\infty$:
$$\int_0^\infty \frac{(\log x)^2}{1+x^2}\, \mathrm dx.$$
Is my function here $\frac{1}{1+x^2}$ and there's a "hole" at $\log 0$ so we plug in $0$ into $\frac{1}{1+x^2}$ and plug into Cauchy's formula or?