Logging of failure in DB replication