Revert "fix trace logging in migrate"