Adding state logging to backfill