If $f(x)=\frac{1}{\sqrt{x} (1+\ln{x})}$ for $x \in (1, \infty)$.
I need to show that $ f \in L^p(1, \infty))$ if and only if $p \geq 2$
I suppose that $p \geq 2$ and so $||f||_p^p=\int_1^{\infty}\frac{x^{-p/2}}{(1+\ln{x})^p}dx$ When I substitute $1+\ln{x} =u$ the integral becomes similar to gamma function with negative argument which means its not convergent. I don't know if this is the correct argument or there is another comparison method to prove the convergence of the integral
Notice that
$$ |f(x)|^p=\frac{1}{x^{p/2}(1+\log(x))^p}\leq\frac{1}{x^{p/2}}$$ for $x\geq 1$. This is enough for convergence when $p>2$
When $p=2$ one gets $$\int^\infty_1\frac{dx}{x(1+\log x)^2}=\int^\infty_1\frac{du}{u^2}=1$$
For $p<2$, fix $\varepsilon>0$ small enough so that $\frac{p}{2}+\varepsilon<1$. Since $\lim_{x\rightarrow\infty}\frac{1+\log(x)}{x^{\varepsilon/p}}=0$, one has that $$ |f(x)|^p=\frac{1}{x^{p/2}(1+\log(x))^p}\geq\frac{1}{x^{\tfrac{p}{2}+\varepsilon}}$$ for $x$ large enough. That will give you divergence for $p<2$.