Oh ok..I kinda get it..so the only time you will need the base is when you are expanding or simplifying the log...but wen solving for an pronumeral it doesn't matter.
This approach, like rand-althor's, is the neatest and most "professional" way to do it. Logs and exponentials are closely related, one being the inverse of the other, so to speak.