How would you evaluate the following integral: $$\int_0^{\pi/2} \frac{\ln(\sin x+\cos x)}{\sin x\cos x}\, dx$$
I can't see any helpful by parts or substitution ideas, e.g. $u=\sec x$ or $u=\csc x$ since the other integral that comes out of by parts don't evaluate nicely, so any help would be much appreciated. The integral should come out nicely as it’s part of a problem (at roughly first year undergraduate level) that says show a particular integral comes to something nice, which I’ve simplified to this.
Rewrite the integral as: $$\int_0^\frac{\pi}{2}\frac{2\ln(\sin x+\cos x)}{2\sin x\cos x}dx=\int_0^\frac{\pi}{2}\frac{\ln(1+\sin (2x))}{\sin (2x)}dx=\int_0^\frac{\pi}{2}\frac{\ln (1+\sin x)}{\sin x}dx =\frac{\pi^2}{8}$$ For the last integral look here and take $a=1$.