I integrated $\dfrac{\log x}{1+x^2}$ from $0$ to infinity with residue calculus and got... $0$.

This also agrees with Wolfram Alpha.

How can this be? 

Is it due to the behavior of $\log(x)$ near the origin? Like a cancellation effect? 

Thanks,