\lim_{x\to 0}\frac{\log(\cos x)}{\cos x-1}=\lim_{x\to 0}\frac{\log(1+(\cos x-1))}{\cos x-1}=1