Log the pre migrate data for debug

Change-Id: I007c27eeef77126d30052a53c13c11215faca597