How do you put log into a power other than 10?
You can use the change-of-base formula: logb(x) = log(x) / log(b).
For example: log8(64) = log(64) / log(8).