Otra manera de encontrar el límite está usando la serie de Taylor
Tenemos: $ u=x-\dfrac{\pi}{2} $ con el fin de obtener el límite de $u \to 0$.
Como hemos utilizado un cambio de variable, debemos expresar todo en términos de la nueva variable.
Por lo tanto tenemos:
$$ L=\lim_{ x \to \frac{\pi}{2}} \tan x \ln\left( \sin x \right) =\lim_{ u \to 0} \tan \left(\frac{\pi}{2}-u \right) \ln\left( \sin \left(\frac{\pi}{2}-u \right) \right) $$
Recordamos algunas identidades trigonométricas:
$$ \sin\left(\frac{\pi}{2}-u \right)=\cos u $$
$$ \cos\left(\frac{\pi}{2}-u \right)=\sin u $$
$$ \tan\left(\frac{\pi}{2}-u \right)=\cot u $$
Tomando todo en términos de $ u $, tenemos
$$ L=\cot u \ln \left(\cos u\right) $$
Utilizando la serie de Taylor:
$$\cos x= x-\dfrac{x^{2}}{2!}+\dfrac{x^{4}}{4!} - \dfrac{x^{6}}{6!}+...+\sum_{n=0}^{\infty}{ } \frac{ \left( -1 \right) ^{n}}{ \left(2n \right)! } x^{2n} $$
$$\cos x= x- \dfrac{x^{2}}{2!}+O\left(x^{2} \right) $$
$$\sin x= x- \dfrac{x^{3}}{3!}+\dfrac{x^{5}}{5!} - \dfrac{x^{7}}{7!}+...+\sum_{n=0}^{∞}{ } \frac{ \left( -1 \right) ^{n}}{ \left(2n+1 \right)! } x^{2n+1} $$
$$\sin x= x- \dfrac{x^{3}}{3!}+O\left(x^{3} \right) $$
Con este límite, nos quedamos con:
$$ L\sim \lim_{ u \to 0} \dfrac{u- \dfrac{u^{2}}{2!}+O\left(u^{2} \right) }{u- \dfrac{u^{3}}{3!}+O\left(u^{3} \right)} \ln \left(u- \dfrac{u^{2}}{2!}+O\left(u^{2} \right) \right)=0 $$