We can consider a bit more general case. Let's denote
$$J(a)=\frac{1}{2}\int_{-\infty}^\infty\frac{x}{a^2+x^2}\,\frac{\tanh\pi x}{\cosh 2\pi x}dx$$
then
$$J(a)=\frac{1}{2}\Im\frac{\partial }{\partial a}\int_{-\infty}^\infty\ln(a-ix)\,\frac{\tanh\pi x}{\cosh 2\pi x}dx=\frac{1}{2}\Im\frac{\partial }{\partial a}I(a);\,a\geqslant0\tag{1}$$
and the desired integral $$J_0=\frac{1}{2}\int_{-\infty}^\infty\frac{\tanh\pi x}{x\cosh 2\pi x}dx=J(0)\tag{2}$$
Using $\,\ln(a-ix)=\ln\Gamma(a-i(x+i))-\ln\Gamma(a-ix)$ and the property $\,\displaystyle\frac{\tanh\pi (x+i)}{\cosh 2\pi (x+i)}=\frac{\tanh\pi x}{\cosh 2\pi x}\,$, we can present the integral $\,I(a)\,$ as the integral along a rectangular contour in the complex plane $\,(-R\to R\to R+i\to-R+i\to -R )$
$$I(a)=\int_{-\infty}^\infty\ln(a-ix)\,\frac{\tanh\pi x}{\cosh 2\pi x}dx=-\oint\ln\Gamma(a-iz)\frac{\tanh\pi z}{\cosh 2\pi z}dz$$
Therefore, as we have three simple poles inside the contour,
$$I(a)=-2\pi i \underset{z=\frac{i}{4}, \frac{3i}{4}, \frac{i}{2}}{\operatorname{Res}}\ln\Gamma(a-iz)\frac{\tanh\pi z}{\cosh 2\pi z}$$
The residue evaluation is straightforward and gives
$$I(a)=-i\bigg(\ln\Gamma\Big(a+\frac{1}{4}\Big)+\ln\Gamma\Big(a+\frac{3}{4}\Big)-2\ln\Gamma\Big(a+\frac{1}{2}\Big)\bigg)$$
Using (1),
$$\boxed{\,\,J(a)=\frac{1}{2}\int_{-\infty}^\infty\frac{x}{a^2+x^2}\,\frac{\tanh\pi x}{\cosh 2\pi x}dx=\psi\Big(a+\frac{1}{2}\Big)-\frac{1}{2}\psi\Big(a+\frac{1}{4}\Big)-\frac{1}{2}\psi\Big(a+\frac{3}{4}\Big)\,\,}$$
and the initial integral
$$J_0=J(0)=\psi\Big(\frac{1}{2}\Big)-\frac{1}{2}\psi\Big(\frac{1}{4}\Big)-\frac{1}{2}\psi\Big(\frac{3}{4}\Big)=\ln 2$$