You have confused natural and common logarithms. The log key is used to find the common logarithm, so you are finding the common logarithm of 5, not the natural logarithm.