\begin{equation*}xy+x+y-2\ln (xy)=C.\end{equation*}

Wouldn't the correct answer be yx + x +y -4ln|xy|?