We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22da2b5 commit 249bcabCopy full SHA for 249bcab
internal/pool/pool.go
@@ -443,7 +443,7 @@ func (p *ConnPool) getConn(ctx context.Context) (*Conn, error) {
443
if hookManager != nil {
444
if err := hookManager.ProcessOnGet(ctx, newcn, true); err != nil {
445
// Failed to process connection, discard it
446
- log.Printf("redis: connection pool: failed to process new connection by hook: %v", err)
+ internal.Logger.Printf("redis: connection pool: failed to process new connection by hook: %v", err)
447
_ = p.CloseConn(newcn)
448
return nil, err
449
}
0 commit comments