Convert println to proper log.error message.

Capture HASH MISMATCH data in the logs for analysis.