I am looking for a more direct way to show that
$$\sum_{n = 0}^\infty \frac{(-1)^n B_{2n} \pi^{2n}}{(2n + 1)!} = \ln (2)$$
Here $B_n$ denote the Bernoulli numbers.
By more direct I mean a proof that starts preferably with the sum, then uses it in some way, before arriving at the result of $\ln (2)$.
I have managed to prove it in a very indirect way as follows. Starting with the well-known result of (see here for example) $$\int_0^{\pi/2} x \cot x \, dx = \frac{\pi}{2} \ln (2),$$ using the Maclaurin series expansion for the cotangent function of $$\cot x = \sum_{n = 0}^\infty \frac{(-1)^n 2^{2n} B_{2n}}{(2n)!} x^{2n - 1}, \quad 0 < |x| < \pi,$$ on substituting this result into the above integral, after interchanging the summation with the integral, and performing the resulting integration, one arrives at the result in question and is essentially the same method that was used here. But does a more direct way exist?