Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita507144

Browse files
committed
Restrict display of replication password
Restrict the display of the replication password to debug logging level. Keep the rest of the existing log.infof information.
1 parentb240c37 commita507144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎cmd/keeper/keeper.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ func (p *PostgresKeeper) resync(followed *cluster.KeeperState, initialized, star
534534
iferr:=pgm.RemoveAll();err!=nil {
535535
returnfmt.Errorf("failed to remove the postgres data dir: %v",err)
536536
}
537-
log.Infof("syncing from followed instance %q with connection params: %v",followed.ID,replConnParams)
537+
log.Debugf("syncing from followed instance %q with connection params: %v",followed.ID,replConnParams)
538+
log.Infof("syncing from followed instance %q",followed.ID)
538539
iferr:=pgm.SyncFromFollowed(replConnParams);err!=nil {
539540
returnfmt.Errorf("error: %v",err)
540541
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp