From 5c001257ac944f855a6a696cb50b27e7ab18aa2a Mon Sep 17 00:00:00 2001 From: vinllen Date: Wed, 11 Sep 2019 15:53:18 +0800 Subject: [PATCH] change utils.LogLevelAll to utils.LogLevelDebug when print debug log --- src/redis-shake/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-shake/sync.go b/src/redis-shake/sync.go index 4e6cdd6..407cff7 100644 --- a/src/redis-shake/sync.go +++ b/src/redis-shake/sync.go @@ -600,7 +600,7 @@ func (ds *dbSyncer) syncCommand(reader *bufio.Reader, target []string, auth_type metric.GetMetric(ds.id).AddPullCmdCount(ds.id, 1) // print debug log of send command - if conf.Options.LogLevel == utils.LogLevelAll { + if conf.Options.LogLevel == utils.LogLevelDebug { strArgv := make([]string, len(argv)) for i, ele := range argv { strArgv[i] = *(*string)(unsafe.Pointer(&ele))