I have been messing around with this integral that has some particular special values$$I(a)=\int_0^\infty \ln\left(\tanh(ax)\right)dx$$
I found that $$I(1)=-\frac{\pi^2}{8}$$ $$I\left(\frac{1}{2}\right)=-\frac{\pi^2}{4}$$ $$I\left(\frac{1}{4}\right)=-\frac{\pi^2}{2}$$ $$...$$ and so on. It appears that $I(2^{-n})=-2^{n-3}\pi^2$. Can anyone explain how to derive a general closed form for $I(a)$ or at least why $I(2^{-n})$ takes on the particular values above?