I consider the one-dimensional real axis. A function $f$ defined on the axis is log-convex if $f(x)f''(x)\ge (f'(x))^2$ for all $x\in\mathbb{R}$. I know that a convex function may not be log-convex, i.e., $f(x)=x$ and $f(x)=x^2$.
I also know that for log-concavity, a non-negative function that is concave is also log-concave, as $f(x)f''(x)\le 0\le (f'(x))^2$. Similarly I wish to know the conditions on a convex function that make it log-convex.
A log convex function is always convex. Let $g$ denote $\log(f)$ so $e^g = f$. The function $e^g$ is convex if $g$ is convex. (Show that $e^{f(x)}$ is convex.)
In the case when $\log f$ is twice differentiable it is easy to show:
$f'' = (e^g)'' = e^g(g'' + (g')^2) \geq 0$ where the inequality follows from the nonnegativity of a convex functions second derivative.
For the case when $f$ is convex we have that $g'' = \frac{f f'' - (f')^2}{f^2} \propto f f'' - (f')^2$ so $g''$ is positive whenever $f \geq \frac{(f')^2}{f''}$.
Further, $g(\lambda x + (1 - \lambda)y) \leq \log(\lambda f(x) + (1-\lambda)f(y))$ since $f$ is convex.
Thus $g$ is convex whenever $$ \log(f(\lambda x + (1-\lambda)y)) \leq \lambda \log f(x) + (1-\lambda)\log f(y) = \log f(x)^\lambda f(y)^{1 - \lambda} $$ Taking the exponent on both sides gives the condition $$ f(\lambda x + (1-\lambda)y) \leq f(x)^\lambda f(y)^{1 - \lambda}. $$
To get a simple necessity condition, we can consider the special case $\lambda = 0.5$ to get that $$ f^2(\frac{x+y}{2}) \leq f(x)f(y). $$ is a necessary but not sufficient condition. Setting $y=x+2a$ gives another interesting necessary condition: $f(x + a)f(x + a)\leq f(x)f(x+2a)$.