Fix logging

Log with the right factor. Previously just logged the displayed value.