Skip to content

Commit 724bb94

Browse files
dveedenatercattus
authored andcommitted
BinlogSyncer: Improve logging of config
1 parent a139a3f commit 724bb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replication/binlogsyncer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func NewBinlogSyncer(cfg BinlogSyncerConfig) *BinlogSyncer {
170170
// Clear the Password to avoid outputing it in log.
171171
pass := cfg.Password
172172
cfg.Password = ""
173-
cfg.Logger.Infof("create BinlogSyncer with config %v", cfg)
173+
cfg.Logger.Infof("create BinlogSyncer with config %+v", cfg)
174174
cfg.Password = pass
175175

176176
b := new(BinlogSyncer)

0 commit comments

Comments
 (0)