Add last snapshot id to log