np.log(value)/np.log(base) is useful to find the log value with any base.