Skip to content

Commit

Permalink
debug: log info
Browse files Browse the repository at this point in the history
  • Loading branch information
zabarn committed Oct 29, 2024
1 parent 8e0fa7c commit 7f19243
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ def _get_session(self, config: RepoConfig):

# creation of Cluster (Cassandra vs. Astra)
if hosts:
logger.info(f"Connecting to Cassandra cluster at {hosts}.")
logger.info(f"Username: {username}.")
logger.info(f"Keyspace: {keyspace}.")
logger.info(f"Port: {port}.")
self._cluster = Cluster(
hosts, port=port, auth_provider=auth_provider, **cluster_kwargs
)
Expand Down

0 comments on commit 7f19243

Please sign in to comment.