Logarithm functions, like ln(x) or a*log_b(x) in general (for a base b>0 not equal to 1) are continuous on their domain (the positive reals), so the substitution rule applies when evaluating limits of logarithms (at positive real numbers). The continuity can be shown by viewing the logarithm as an inverse function.