textbook solution of above question is given by for $$\sqrt{\log\frac1{|\sin x|} }$$ to be defined $\log\left(\frac 1{|\sin x|}\right)$ has to be > or = 0, for that $1/|\sin x| >$ or $= 1$ and $\sin x \neq 0$, thus domain is $\Bbb R - \{n\pi, n \in I\}$.
But if I use property of log that is $\log(a/b)=\log a - \log b$ then I get $$\log 1 - \log |\sin x|= 0 - \log |\sin x|= - \log |\sin x|$$ So for $\sqrt{\log(\frac1{|\sin x|} ) }$ to be defined, $\log |\sin x|$ has to be negative and $|\sin x|$ has to between 0 and 1, which is true for all $x \in \Bbb R$. I don't understand what I am doing wrong.