Skip to content

Commit

Permalink
BinlogSyncer: Improve logging of config
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored and atercattus committed Jan 31, 2023
1 parent a139a3f commit 724bb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion replication/binlogsyncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func NewBinlogSyncer(cfg BinlogSyncerConfig) *BinlogSyncer {
// Clear the Password to avoid outputing it in log.
pass := cfg.Password
cfg.Password = ""
cfg.Logger.Infof("create BinlogSyncer with config %v", cfg)
cfg.Logger.Infof("create BinlogSyncer with config %+v", cfg)
cfg.Password = pass

b := new(BinlogSyncer)
Expand Down

0 comments on commit 724bb94

Please sign in to comment.