I am looking for a real, continuous function that satisfies the functional equation $$ f(ab+cd)= f(a)+f(b)+f(c)+f(d) $$ where $a,b,c,d$ are real. This is equivalent to a function satisfying these two functional equations: $$ f(x+y)=f(x)+f(y) $$ $$ f(xy)=f(x)+f(y) $$ or Cauchy's functional equation and the logarithmic functional equation, respectively. I have the suspicion that the only the function $f(x) = 0$ satisfies this, but I am very confused as to how a solution may be found analytically. Thank you in advance.
EDIT: I saw in the comments that if f(x) is defined at zero the answer is trivial. If the domain were restricted to not include zero or even to not include all nonpositive numbers, would the answer change? If so, how? What if the function were discontinuous? Thank you again.