Skip to content

Commit eaeaf80

Browse files
committed
Remove verbose logging from cluster initializers
1 parent 878e2f2 commit eaeaf80

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Create codeql-analysis.yml (#1988). Thanks @chayim
44
* Add limited support for Lua scripting with RedisCluster
55
* Implement `.lock()` method on RedisCluster
6+
* Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster
67

78
* 4.1.3 (Feb 8, 2022)
89
* Fix flushdb and flushall (#1926)

redis/cluster.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ def __init__(
518518
RedisClusterException:
519519
- db (Redis do not support database SELECT in cluster mode)
520520
"""
521-
log.info("Creating a new instance of RedisCluster client")
522-
523521
if startup_nodes is None:
524522
startup_nodes = []
525523

@@ -1670,7 +1668,6 @@ def __init__(self, redis_cluster, node=None, host=None, port=None, **kwargs):
16701668
:type host: str
16711669
:type port: int
16721670
"""
1673-
log.info("Creating new instance of ClusterPubSub")
16741671
self.node = None
16751672
self.set_pubsub_node(redis_cluster, node, host, port)
16761673
connection_pool = (
@@ -1802,7 +1799,6 @@ def __init__(
18021799
**kwargs,
18031800
):
18041801
""" """
1805-
log.info("Creating new instance of ClusterPipeline")
18061802
self.command_stack = []
18071803
self.nodes_manager = nodes_manager
18081804
self.commands_parser = commands_parser

0 commit comments

Comments
 (0)