Rename log files

Make sure the migration process rename log files.