Recall that we could solve $2^x=7$ using logarithms of different bases.
$2^x=7$
$\textcolor{#17a2b8}{\log}{2^x}=\textcolor{#17a2b8}{\log}{7}$
$\log{2}=\log{7}$
$x=$
$2^x=7$
$\textcolor{#17a2b8}{\log_2}{2^x}=\textcolor{#17a2b8}{\log_2}{7}$
${\log_2}{2}=\log_2{7}$
$=$
$2^x=7$
$\textcolor{#17a2b8}{\ln}{2^x}=\textcolor{#17a2b8}{\ln}{7}$
$\ln{2}=\ln{7}$
$x=$
This means $\displaystyle \frac{\log 7}{\log 2}=\log _27=\frac{\ln 7}{\ln 2}\approx$ (to 3 decimal places)
In general, we can change the base of any logarithm.
$\displaystyle \log_b a=\frac{\log_c a}{\log_c b}$