Output the right value in the log