Implement replica logging scheme