Пример #1
0
 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)
Пример #2
0
 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)
Пример #3
0
 def startedConnecting(self, connector: IConnector):
     logger.info("Connecting to redis server %s",
                 format_address(connector.getDestination()))
     super().startedConnecting(connector)
Пример #4
0
 def startedConnecting(self, connector: IConnector) -> None:
     logger.info("Connecting to replication: %r",
                 connector.getDestination())