From 599bb54dd9d1eee4fa10fc32f8150ee48dbaa035 Mon Sep 17 00:00:00 2001 From: liubingxing Date: Mon, 6 Mar 2023 20:37:05 +0800 Subject: [PATCH] [BugFix] fix qos log level Signed-off-by: liubingxing --- util/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log/log.go b/util/log/log.go index e1e412d53..28aec0a2b 100644 --- a/util/log/log.go +++ b/util/log/log.go @@ -678,7 +678,7 @@ func QosWriteDebugf(format string, v ...interface{}) { if gLog == nil { return } - if UpdateLevel&gLog.level != gLog.level { + if DebugLevel&gLog.level != gLog.level { return } s := fmt.Sprintf(format, v...)