First, we rewrite the number 0125 as a fraction which we also simplify:
0125 =125 1000=103525=555253=123=2−3
Because 0125 was expressed as a power of 2, the logarithm can be calculated in full:
log20125 =log22−3=−3log22=−31=−3