I am looking for a closed form for
$$I=\int_0^\pi\ln(x-\sin x)dx=-4.78467028887\dots$$
Here is a graph of the integrand:
Context, and why I suspect $I$ has a closed form
On a circle, choose $n$ evenly spaced points, with one point at the bottom of the circle. Through each point and the bottom point, draw a circular arc tangent to the circle's vertical diameter. Here is an example with $n=12$.
Numerical investigation suggests that if the average area of the regions is $\frac14e^{-I/\pi}=1.14649917333\dots$ (that is, the area of the circle is $\frac{n}{4}e^{-I/\pi}$), then as $n\to\infty$, the product of the areas of the regions converges to $2$. (If the average area is less than this, then the product converges to $0$; if the average area is greater than this, then the product diverges.)
I suspect that $I$ has a closed form, because in my previous explorations of products of areas in circles, I have found various exotic closed forms: example 1, example 2, example 3, example 4.
My attempt
A search on Approach Zero turned up nothing similar. Wolfram Alpha does not evaluate the definite nor indefinite integral. Other than that, I don't know what to do.
Note: Some of the comments refer to the original version of this question, which asked for a closed form for $\int_{-\pi/2}^{\pi/2}\ln\left(x(\cot x)\csc^2x-\cot^2x\right)dx$. The comments indicated that this integral can be simplified to $\int_0^\pi\ln(x-\sin x)dx+\pi\ln 2$.


