I need to compute the following integral for $a>-1$,
$$\int_{0}^{1} x^{a}(1-x)^{-1}\log (x) dx $$
My attempt:
By change of variable $x=1+t$:
\begin{align*} I &= \int_{0}^{1} x^{a}(1-x)^{-1}\log (x) dx= \int_{0}^{1} \frac{(1+t)^a}{t} \log(1+t) dt \\ &= \sum_1^{\infty} \frac{(-1)^{n+1}}{n} \int_{0}^{1} \frac{(1+t)^a t^n}{t}dt=\sum_1^{\infty} \frac{(-1)^{n+1}}{n} \int_{0}^{1} (1+t)^a t^{n-1}dt \end{align*}
Expanding $(1-x)^{-1}$: $$\begin{align} \int_{0}^{1} x^{a}(1-x)^{-1}\log x\,dx&=\sum_{n=0}^\infty\int_0^1x^{n+a}\log x\,dx\\ &=\sum_{n=0}^\infty\Biggl(\frac{x^{n+a+1}}{n+a+1}\,\log x-\frac{x^{n+a+1}}{(n+a+1)^2}\,\Biggr|_0^1\Biggr)\\ &=-\sum_{n=0}^\infty\frac{1}{(n+a+1)^2}. \end{align}$$ Since $a>-1$ (or otherwise the integral would not converge), we have $n+a+1\ne0$ for all $n$.