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

Commit 71403f8

Browse files
committed
Add logging
1 parent 3ee22cc commit 71403f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pgclient/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func NewClient(cfg *Config, readHist prometheus.ObserverVec) (*Client, error) {
7878
}
7979
connectionPool, err := pgxpool.Connect(context.Background(), connectionStr+fmt.Sprintf(" pool_max_conns=%d pool_min_conns=%d", maxConnections, minConnections))
8080

81-
log.Info("msg", util.MaskPassword(connectionStr), "numCopiers", numCopiers)
81+
log.Info("msg", util.MaskPassword(connectionStr), "numCopiers", numCopiers, "pool_max_conns", maxConnections, "pool_min_conns", minConnections)
8282

8383
if err != nil {
8484
log.Error("err creating connection pool for new client", util.MaskPassword(err.Error()))

0 commit comments

Comments
 (0)