s4-repl: add a debug to make it easier to monitor replication