Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Voyager] Redact password while logging connection param details during import data #2095

Closed
1 task done
priyanshi-yb opened this issue Dec 16, 2024 · 0 comments · Fixed by #2097
Closed
1 task done

Comments

@priyanshi-yb
Copy link
Contributor

priyanshi-yb commented Dec 16, 2024

Jira Link: DB-14526

Description

In this log line we are dumping the connection uri without redacting password

2024-10-23 21:12:54.560479 INFO yugabytedb.go:237 Initialized connection pool with settings: (*tgtdb.ConnectionParams)(0x14000c75bc0)({
 NumConnections: (int) 3,
 NumMaxConnections: (int) 3,
 ConnUriList: ([]string) (len=1 cap=1) {
  (string) (len=92) "postgresql://yugabyte:Test%[email protected]:5433/testdb?sslmode=prefer"
 },
 SessionInitScript: ([]string) (len=3 cap=4) {
  (string) (len=29) "SET client_encoding TO 'UTF8'",
  (string) (len=39) "SET session_replication_role TO replica",
  (string) (len=53) "SET default_transaction_isolation = 'repeatable read'"
 }
})

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants