I am trying to solve the integral: $$ \int_{0}^{2\pi}d\phi\text{ } \text{ln}(|\cos(\phi)|)^2 $$ I was wondering if the analytical expression of this integral is known. With mathematical tools like Mathematica I can only find the numerical expression which is equal to $8.18649$.
Without the squaring it can be solved: $$ \int_0^{2\pi}d\phi \text{ ln}(|\cos(\phi)|) = -2\pi\ln(2) $$