Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 5f7c903

Browse files
committed
Move logging commands to debug to avoid unwanted log spamming on regular info level
1 parent 03414b0 commit 5f7c903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rediscluster/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SSLClusterConnection(SSLConnection):
7878
"""
7979

8080
def __init__(self, *args, **kwargs):
81-
log.info("Creating new SSLClusterConnection instance")
81+
log.debug("Creating new SSLClusterConnection instance")
8282
log.debug(str(args) + " : " + str(kwargs))
8383

8484
self.readonly = kwargs.pop('readonly', False)
@@ -123,7 +123,7 @@ def __init__(self, startup_nodes=None, init_slot_cache=True, connection_class=No
123123
it was operating on. This will allow the client to drift along side the cluster
124124
if the cluster nodes move around a lot.
125125
"""
126-
log.info("Creating new ClusterConnectionPool instance")
126+
log.debug("Creating new ClusterConnectionPool instance")
127127

128128
if connection_class is None:
129129
connection_class = ClusterConnection

0 commit comments

Comments
 (0)