This question already has an answer here:

I tried to find $f(a) = \int_{0}^{\infty} \frac{\log(x^{2}+a^{2})}{x^{2}+b^{2}}$. After differentiating I get : $f(a) = \frac{\pi \log(a+b)}{b} + C$. But it's not easy to find this constant. I represent constant as $\int_{0}^{\infty} \frac{\log(x^{2}+1)}{x^{2}+1} - \pi \log(2)$. Any hints ?


marked as duplicate by Martin R, Arnaud D., Claude Leibovici integration Nov 27 '17 at 10:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.