$$\lim_{x\to 1}\ln(1-x)\cot\frac{\pi x}2$$ After applying L'Hospital twice, I get $$\lim_{x\to 1}\frac{-2\sin\pi x}\pi = 0$$
Is this correct? And if I do by LHL and RHL method, ln(1-x) would not be defined for RHL since the log of negative is not defined. Also the concern that tan($\pi$/2) approaches +$\infty$ from LHL and -$\infty$ from RHL.