Make diff-from-snaphsot-logging optional.