I already saw this question (and the linked questions) but mine is slightly different. I am asked to prove the fact that the exponential parameterization isn't a good one for $SL(2,\mathbb{R})$ using some diagonal matrices as examples. I'm aware that one can find some (upper triangular) matrices that don't have a bijective exponential parameterization, but I'm pretty sure that any $SL$ matrices of the form $diag(x,x^{-1})$ can be written as $diag(e^a,e^{-a})$. Am I wrong, or is the question just not answerable using diagonal matrices?
edit: thanks to Moishe Kohan, I noticed that there are some $x$ so that $diag(x,x^{-1})$ can't be written as $diag(e^a,e^{-a})$ - the negatives. But I also noticed that a diagonal matrix written as an exponential of another matrix $diag(x, x^{-1})=e^A$ doesn't imply that A is diagonal! So this still doesn't answer the question: can all diagonal $SL$ matrices be written with an exponential parameterization?