I came across the following integral, and I don't know how to solve it. $$ \int\log\left(x+\sqrt{x^2-1}\right)dx $$ I tried the "obvious" substitution of $x=\sec\theta$, which gives you: $$ \int\tan\theta\sec\theta\log\left(\tan\theta+\sec\theta\right)d\theta $$ However, this doesn't simplify it much, in the sense that I have no idea how to solve this now! Take out the common factor of $\sec$ from the log, or perhaps do $u=\tan\theta+\sec\theta$, but both of these lead to dead ends (at least for me).
In case you are wondering, Wolfram|Alpha claims the answer is: $$x\log\left(x+\sqrt{x^2-1}\right)-\sqrt{x^2-1}+c$$
Integrate by parts: $$ x\log(x+\sqrt{x^2-1})-\int x\frac{1+\dfrac{x}{\sqrt{x^2-1}}}{x+\sqrt{x^2-1}}\,dx $$
Now, where did I see $\log(x+\sqrt{x^2-1})$ again? Set $x+\sqrt{x^2-1}=e^t$, so $$ x^2-1=e^{2t}-2xe^t+x^2 $$ or $$ 2xe^t=e^{2t}+1 $$ and $$ x=\cosh t $$ So a good substitution could be this one, wouldn't it? The integral becomes $$ \int t\sinh t\,dt=t\cosh t-\int \cosh t\,dt=t\cosh t-\sinh t $$ and now it's just back substitution.