Consider the following problem $$\min_{x,y}f(x)g(y)\\ \text{s.t. } x\in\mathcal{X},y\in\mathcal{Y}$$
where $\mathcal{X},\mathcal{Y}$ are two convex sets, $f(x),g(y)>0$. If I want to solve this problem, can I solve the following problem, equivalently? $$\min_{x,y}\log f(x)+\log g(y)\\ \text{s.t. } x\in\mathcal{X},y\in\mathcal{Y}$$