Add snapshot metadata logging.