Improve comparison logging