Compare row outputs when deciding whether to group log messages