Step 1: Substitution to simplify the integral.
We are given the integral:
\[
I = \int \frac{dx}{x \sqrt{1 - (\log x)^2}}
\]
Let us make the substitution \( u = \log x \). This implies:
\[
du = \frac{dx}{x}
\]
Therefore, the integral becomes:
\[
I = \int \frac{du}{\sqrt{1 - u^2}}
\]
Step 2: Recognizing the standard integral form.
We recognize that the integral:
\[
\int \frac{du}{\sqrt{1 - u^2}}
\]
is a standard integral whose result is the inverse sine function \( \sin^{-1}(u) \). Therefore, we have:
\[
I = \sin^{-1}(u) + C
\]
Step 3: Substituting back \( u = \log x \).
Now, substitute \( u = \log x \) back into the equation:
\[
I = \sin^{-1} (\log x) + C
\]
Step 4: Conclusion.
Thus, the value of the integral is:
\[
\boxed{\sin^{-1} (\log x) + C}
\]
This matches option (D), which is the correct answer.