How to prove that logistic loss is a convex function?
$$f(x) = \log(1 + e^{-x})?$$
I tried to derive it using first order conditions, and also took 2nd order derivative, though I do not see neither $f(y) \geq f(x) + f'(x)(y-x)$, nor positive definiteness (aka always positive second derivative in this case).
$$f'(x) = \frac{-\exp(-x)}{1+\exp(-x)}=-1+(1+\exp(-x))^{-1}$$
$$f"(x) = -(1+\exp(-x))^{-2}(-\exp(-x))=\frac{\exp(-x)}{(1+\exp(-x))^2} > 0$$