You ignored the negative symbol in the formula and simply moved the log to the other side of the equation instead of rewriting it as an exponential equation.