I would like to know how to compute
$$\int_{-\pi/2}^{\pi/2}(\log{(\sec{\theta})})^n\,\mathrm{d}\theta$$
for $n \in \mathbf{N}$. This is as far as I was able to reduce the problem of the integral
$$\int_{-\infty}^\infty \frac{(\log({A\sqrt{z^2 + \tau^2}}))^n}{z^2+\tau^2} \, \mathrm{d}z$$
to follow some work in this paper. My Mathematica installation can compute the top integral for $n=1,\, 2$, but only very slowly and the paper warns that Mathematica sometimes computes the wrong answer.