\log_ax=\frac{\ln x}{\ln a}.