![\begin{array}{llll} \textit{Logarithm of rationals} \\\\ \log_a\left( (x)/(y)\right)\implies \log_a(x)-\log_a(y) \end{array}~\hfill \begin{array}{llll} \textit{Logarithm Cancellation Rules} \\\\ log_a a^x = x\qquad \qquad \underset{\stackrel{\uparrow }{\textit{let's use this one}}}{a^(log_a x)=x} \end{array} \\\\[-0.35em] ~\dotfill](https://img.qammunity.org/2023/formulas/mathematics/college/o5o5kbvp8s7f77xzwp6chenqateyg2c38o.png)

notice, -2 is a valid value for the quadratic, however, the argument value for a logarithm can never 0 or less, it has to be always greater than 0, so for the logarithmic expression with (x-2), using x = -2 will give us a negative value, so -2 is no dice.