logging and failover mechanisms