Skip to content

Remove verbose logging from cluster initializers #2055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions redis/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,6 @@ def __init__(
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 = []

Expand Down Expand Up @@ -1670,7 +1668,6 @@ def __init__(self, redis_cluster, node=None, host=None, port=None, **kwargs):
: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 = (
Expand Down Expand Up @@ -1802,7 +1799,6 @@ def __init__(
**kwargs,
):
""" """
log.info("Creating new instance of ClusterPipeline")
self.command_stack = []
self.nodes_manager = nodes_manager
self.commands_parser = commands_parser
Expand Down