Remove loging

Remove logging from the compare function