From 724bb948cf9e4cc7059a9e9bf4630cfbbb514210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 30 Jan 2023 13:43:31 +0100 Subject: [PATCH] BinlogSyncer: Improve logging of config --- replication/binlogsyncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)