Make some replication logging more structured