added log for failover