convert ln to log