Prove that $$\sum_{n=2}^\infty \frac{1}{(n(\log n)^p )}$$ converges if and only if $p>1$.
I know that $\sum_{n=2}^\infty f(n)$ converges if and only if $\int_2^\infty f(x)$ converges by the integral test, provided that $f$ is a positive decreasing function on $[2,\infty)$. However, for some values of $p$, $f(x)=\frac{1}{x(\log x)^p}$ is decreasing, as shows the derivative $f(x)=-\frac{1+px}{x^2(\log x)^{p-1}}$. Can we apply the integral test whatsoever or do we need to account for changes? Can we apply the integral test at all?
I have to use the integral test.