I want to Show that whether the integral $$\int\limits_0^{\pi/2}\ln(\cos(x))dx$$ is convergent ot not.
My Approach: Let $y=cos(x)$, then the above integral reduces to $$\int\limits_0^{1}\frac{\ln(y)}{\sqrt{1-y^2}}dy.$$ At this step since $\ln(y)<<y^p$, $p=1,2,...$, I compare above integral from above with the integral$$\int\limits_0^{1}\frac{y}{\sqrt{1-y^2}}dy,$$ which is convergent. Hence by comprasion I obtain that the integral $\int\limits_0^{\pi/2}\ln(\cos(x))dx$ is convergent.
My Question: (1) Is my approach true? (2) Can you suggest any different aproach?
Thanks in advance...