I have tried to use $\ln$, but couldn't solve:
\begin{equation} \ln x^{x^{x^{2017}}}=x^{x^{2017}}\ln x=\ln 2017. \end{equation}
I found that $x=\sqrt[2017]{2017}$ is a solution, and it is easy to check it. But how to find that solution without guessing and how to prove if it is the only solution?