log message improved to have actual values printed.