Is there a closed form integral for $$I(x) = -\int_0^1 \frac{1}{z}\ln\left(\frac{1-x z + \sqrt{1-2 x z+ z^2}}{2}\right)\,dz$$ for $-1 < x < 1$?
This integral is related to Legendre polynomials as $$\frac{-1}{z}\ln\left(\frac{1-x z + \sqrt{1-2 x z+ z^2}}{2}\right)=\sum_{n=1}^{\infty} \frac{P_{n}(x)}{n} z^{n-1}$$ $$I(x) = \sum_{n=1}^{\infty} \frac{P_{n}(x)}{n^2}$$ where $P_{n}(x)$ satisfies $\sum_{n=0}^{\infty} P_n(x) z^2 = (1-2 x z + z^2)^{- 1/2}$ for all $-1< x< 1$ and $-1< z< 1$. Integrating twice with respect to $z$ gives a relation \begin{align}\sum_{n=0}^{\infty} \frac{P_{n}(x)}{(n+1)(n+2)} &= \int_0^1 dz \int_0^z dz'\frac{1}{\sqrt{1 - 2 z' x +x^2}}\,. \\ &= 1 - \sqrt{2(1-x)} +(1-x) \ln\left(1+\sqrt{\frac{2}{1-x}}\right) \\&= 1-2s+2s^2 \ln\frac{1+s}{s} \end{align} where $s=\sin(\theta/2)$ and $x=\cos\theta$. The elements of this sum are asymptotically equal to the sum defining $I$, but I am not sure if this is useful to get a closed form for $I$. Another related relation is $$I(x) = \int_0^1 \frac{dz}{z} \int_0^z \frac{dz'}{z'} \left[\frac{1}{\sqrt{1 - 2 z' x +x^2}}-1\right]\,. $$