jameshartig commented on code in PR #1855:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1855#discussion_r2136212912


##########
conn.go:
##########
@@ -249,6 +249,14 @@ func (s *Session) dialWithoutObserver(ctx context.Context, 
host *HostInfo, cfg *
                writeTimeout = cfg.WriteTimeout
        }
 
+       logger := cfg.Logger

Review Comment:
   I made it fallback to the session's logger if the connection didn't have 
one. If I called `logger()` it would set a default logger without looking at 
the session.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to