When you convert an expression such as log(a) + log(b) to log(ab), the assumption as that both a and b are positive. If you perform an operation that gets rid of the log function, it still must be that a and b are positive, even if that's not apparent in the equation you end up with.
You have said that you ended up with a quadratic equation, which presumably you are going to solve for x. The solutions of your quadratic might or might not be solutions of the original log function.