2.1 migration issue of 1.9 logs

This PR adds rewriting of 1.9 logs to 2.1 format during upgrade of 1.9 store to 2.1.
This for loop looks very similar to the one above. Make into a method?