Improve accuracy of a log message