$$\int_1^2 \frac{\log x}{(x-1)^{\alpha}}\,dx=\lim_{\epsilon \to 0+}\int_{1+\epsilon}^2 \frac{\log x}{(x-1)^{\alpha}}\,dx$$
For $\alpha =1$, the integral clearly diverges logarithmically.
Now, for $\alpha \ne 1$, integration by parts reveals that
$$\begin{align}
\int_{1+\epsilon}^2 \frac{\log x}{(x-1)^{\alpha}}\,dx&=\left(\frac{1}{1-\alpha}(x-1)^{1-\alpha}\log x\right)|_{1-\epsilon}^2-\frac{1}{1-\alpha}\int_{1+\epsilon}^2 \frac{(x-1)^{1-\alpha}}{x} dx\\\\
&=\frac{1}{1-\alpha}(\log 2-\epsilon^{\alpha}\log(1-\epsilon))-\frac{1}{1-\alpha}\int_{1+\epsilon}^2 \frac{(x-1)^{1-\alpha}}{x} dx
\end{align}$$
The first term on the right-hand side clearly converges as $\epsilon \to 0^+$ for all $0<\alpha$, while the integral clearly converges as $\epsilon \to 0^+$ for all $\alpha<1$. Thus, the integral $\int_1^2 \frac{\log x}{(x-1)^{\alpha}}\,dx$ converges only when $0<\alpha<1$ and diverges otherwise.
NOTE:
Since $\int_2^{\infty} \frac{\log x}{(x-1)^{\alpha}}\,dx$ converges only when $alpha >1$, the integral $\int_1^{\infty} \frac{\log x}{(x-1)^{\alpha}}\,dx$ diverges for all $\alpha$.