Merge load_failover_logs and handle_failover_log