An alternative derivation by integration by parts and very few extras:
$$ I = \int_{0}^{\pi}\log(1+\sin^2\theta)\,d\theta = 2\int_{0}^{\pi/2}1\cdot\log(1+\sin^2\theta)\,d\theta = \pi\log 2-2\int_{0}^{\pi/2}\frac{2\theta\sin\theta\cos\theta}{1+\sin^2\theta}\,d\theta $$
The last integral would be fairly straightforward to compute if $\theta$ was $\sin\theta$. On the other hand we may exploit the Fourier sine series of the identity function over the interval $\left(-\frac{\pi}{2},\frac{\pi}{2}\right)$:
$$ \theta = \sum_{k\geq 1}\frac{(-1)^{k+1}}{k}\,\sin(2k\theta) \tag{F}$$
then compute
$$ \int_{0}^{\pi/2}\frac{\sin(2k\theta)\sin\theta\cos\theta}{1+\sin^2\theta}\,d\theta =\frac{\pi}{2}(\sqrt{2}-1)^{2k}\tag{R}$$
through a recurrence relation. By $(\text{F})$ and $(\text{R})$ it follows that
$$ I = \pi\log 2-2\pi\sum_{k\geq 1}\frac{(-1)^{k+1}}{k}(\sqrt{2}-1)^{2k}=\pi\log 2-2\pi\log(4-2\sqrt{2})$$
$$I=\pi\log\left(\frac{3}{4}+\frac{1}{\sqrt{2}}\right)=\color{blue}{2\pi\log\left(\frac{1+\sqrt{2}}{2}\right)}=1.18266139149\ldots $$
and dilogarithms have been carefully avoided.