diff --git a/replication/binlogsyncer.go b/replication/binlogsyncer.go index 9c88aa8b8..7f8b06b72 100644 --- a/replication/binlogsyncer.go +++ b/replication/binlogsyncer.go @@ -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)