I'm looking for a proof of identity 4.223.3 from Gradshteyn and Ryzhik's Tables of Integrals, Series and Products, namely
$$\int_0^\infty\ln(1 + 2e^{-x}\cos t + e^{-2x})\,dx = \frac{\pi^2}{6} - \frac{t^2}{2} \qquad (\lvert t\rvert < \pi)$$
(I suspect it holds for $\lvert t\rvert = \pi$ as well).
Unlike the proceeding formulas 4.223.1 and 4.223.2 for $\int_0^\infty\ln(1 \pm e^{-x})\,dx$, its proof does not appear in part 9 of Amdeberhan et al.'s Integrals in Gradshteyn and Ryzhik. The reference in GR is for table 256 of the 1867 work Nouvelles tables d'intégrales définies (large pdf).
One reason I'm interested in the derivation is that the integral looks related to
$$\int_0^\infty \ln(1 - 2xe^{-x} - e^{-2x})\,dx,$$
which is equivalent to the integral asked in a previous unanswered question.