Compute $\int_{0}^{\pi/2}\cos(x)\ln(\tan(x))dx$
It is easy to check this improper integral converges. One also notes that $\int_{0}^{\pi/2}\cos(x)\ln(\tan(x))dx=-\int_{0}^{\pi/2}\sin(x)\ln(\tan(x))dx$.
It is possible to find an antiderivative for $\cos(x)\ln(\tan(x))$ using integration by parts, but I'm looking for a nicer way, that would involve only substitution or other tricks.