def clientConnectionLost(self, connector: IConnector, reason: Failure): logger.info( "Connection to redis server %s lost: %s", format_address(connector.getDestination()), reason.value, ) super().clientConnectionLost(connector, reason)
def clientConnectionFailed(self, connector: IConnector, reason: Failure) -> None: logger.info( "Connection to redis server %s failed: %s", format_address(connector.getDestination()), reason.value, ) super().clientConnectionFailed(connector, reason)
def startedConnecting(self, connector: IConnector): logger.info("Connecting to redis server %s", format_address(connector.getDestination())) super().startedConnecting(connector)
def startedConnecting(self, connector: IConnector) -> None: logger.info("Connecting to replication: %r", connector.getDestination())