I have to study this function. To remove the modulus I split the original function in
\begin{cases} \log(1+\sin(x)+\sin(x)), & \text{if $0<x<\pi$} \\ \log(1+\sin(x)-\sin(x)), & \text{if $\pi<x<2\pi$} \end{cases}
but since $\log(1+\sin(x)-\sin(x)) = \log(1) = 0$, can I study the function only in the interval $0<x<\pi$?