protected function activateNextConnection() { // this call will either return true or throw an exception, so we don't need the return value parent::activateNextConnection(); // find out whether first conn is active or a different one if ($this->isFailoverActive()) { $time = $this->time->current(); $this->failoverActiveSince = $time; // we set this one also so we don't immediately try to disable the newly created connection again $this->lastConnectionAttempt = $time; $this->log->info("Running in Failover mode since " . date('c', $time)); } return true; }