I am trying to prove that for positive-definite matrices $A$, $B$ and $C$,
$$\text{trace}(C\log(AB))=\text{trace}(C\log(A))+\text{trace}(C\log(B)).\quad(1)$$
While I don't know if it is a correct statement or not, I thought proving
$$\text{trace}(\log(AB))=\text{trace}(\log(A))+\text{trace}(\log(B))\quad(2)$$
can help me to prove $(1)$. But I couldn't solve $(2)$ as well. I saw this relationship on Wikipedia here with no proof, so I thought maybe the solution is very easy and I am missing something obvious.
If you prove that
then I think you can proceed from that. You should try to define the log of a matrix and use matrix knowledge. See here and here and try to prove the properties used. This should be a straightforward and good exercise.
EDIT: The more interesting case showed in the comments is the case were $A,B$ are square matrices that don't commute, so $AB \neq BA$ and in that case we don't have that $\log(AB) = \log(A)+\log(B)$ necessarily. But there is this important proposition
See that $e^A$ is well-defined. Now if we take the log in both sides of the equation we get
$$\text{tr}(A) = \log(\det(e^A)) \tag{1}$$
Now suppose that $\log(AB)$, $\log(A)$ and $\log(B)$ are all well-defined. This means that $\Vert AB - I \Vert < 1$, $\Vert A - I \Vert < 1$ and $\Vert B - I \Vert < 1$. Were here we denote the operator norm in the space of square matrices with real (or complex) entries.
$$\Vert A \Vert := \sup_{u \neq 0, u \in \mathbb{C^n}}\frac{\Vert Au \Vert_{\mathbb{C}}}{\Vert u \Vert_{\mathbb{C}}}$$
$$\Vert u \Vert_ {\mathbb{C}} := \sqrt{\vert u_1\vert ^2 + \dots +\vert u_n \vert^2}$$
With the above considerations we get that the taylor series of the matrix converges.
We also have a lema:
With that we can just set $A \to \log(AB)$ and then
$$\text{tr}(\log(AB)) = \log(\det(AB)) = \log(\det(A)\det(B)) = \log(\det(A)) + \log(\det(B))= $$ $$ = \log(\det(e^{\log(A)})) + \log(\det(e^{\log(B)})) \stackrel{(1)}{=} \text{tr}(\log(A)) + \text{tr}(\log(B))$$
Reference in Portuguese