integral of logarithm and rational function i'm wondering how can i evaluate this integral using real methods:
\begin{equation*}
\int_{0}^{\infty}\frac{\log x}{1+x^{2}}dx.
\end{equation*}
I tried using mclaurin series of $\log x$ but really don't know how to proceed later and integrating by parts using trigonometrical substitution but i have a mess. Thanks for reading.

No need to split the integral.  Just effect the substitution $x=1/y$ so that $dx=-dy/y^2$ and the limits of integration flip.  Thus, we have
$$\begin{align}
I&=\int_0^{\infty}\frac{\log x}{1+x^2}dx\\\\
&=\int_{\infty}^0 \frac{\log (1/y)}{1+y^{-2}}\frac{-dy}{y^2}\\\\\
&=-\int_{\infty}^0 \frac{\log (1/y)}{y^2+1}dy\\\\
&=\int_{0}^{\infty} \frac{\log (1/y)}{y^2+1}dy=\\\\
&-\int_{0}^{\infty} \frac{\log y}{y^2+1}dy\\\\
&=-I
\end{align}$$
Thus $I=-I$ which implies that $I=0$. 
