I'd do the integral as follows
[tex]\int \mathrm{d} x \frac{x+2}{x-1}=\int \mathrm{d} x \frac{x-1+3}{x-1} = \int \mathrm{d} x \left (1+\frac{3}{x-1} \right )=x+3 \ln(|x-1|)+C.[/tex]
So up to your missing modulus under the log (which only means that your result is valis for [itex]x>1[/itex] only), you got the correct solution. Why do you think it's wrong?