Log comparator