summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--redis/cluster.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index ca2d2e8..aa5192d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@
* Create codeql-analysis.yml (#1988). Thanks @chayim
* Add limited support for Lua scripting with RedisCluster
* Implement `.lock()` method on RedisCluster
+ * Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster
* 4.1.3 (Feb 8, 2022)
* Fix flushdb and flushall (#1926)
diff --git a/redis/cluster.py b/redis/cluster.py
index 09c9ab7..287fd4f 100644
--- a/redis/cluster.py
+++ b/redis/cluster.py
@@ -518,8 +518,6 @@ class RedisCluster(RedisClusterCommands):
RedisClusterException:
- db (Redis do not support database SELECT in cluster mode)
"""
- log.info("Creating a new instance of RedisCluster client")
-
if startup_nodes is None:
startup_nodes = []
@@ -1670,7 +1668,6 @@ class ClusterPubSub(PubSub):
:type host: str
:type port: int
"""
- log.info("Creating new instance of ClusterPubSub")
self.node = None
self.set_pubsub_node(redis_cluster, node, host, port)
connection_pool = (
@@ -1802,7 +1799,6 @@ class ClusterPipeline(RedisCluster):
**kwargs,
):
""" """
- log.info("Creating new instance of ClusterPipeline")
self.command_stack = []
self.nodes_manager = nodes_manager
self.commands_parser = commands_parser